Parser-Fehler cxf-beans.xml keine Erklärung finden für element 'jaxws:endpoint'

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<jaxws:endpoint xmlns:tns="http://sampleService.viasat.com/"
id="sampleserviceinterfcae" implementor="com.viasat.sampleservice.SampleServiceInterfcaeImpl"
    wsdlLocation="wsdl/sampleserviceimplementation.wsdl" endpointName="tns:SampleServiceImplementationPort"
    serviceName="tns:SampleServiceImplementationService" address="/SampleServiceImplementationPort">
<jaxws:features>
<bean class="org.apache.cxf.feature.LoggingFeature" />
</jaxws:features>
</jaxws:endpoint>
</beans>

Bin ich mit Maven, um die Anwendung zu erstellen. Nach mvn clean und mvn install ich das Deployment der Anwendung im Tomcat-nach denen bin ich immer die folgende Fehlermeldung ' Line 11, in XML-Dokument aus dem ServletContext Ressourcen [/WEB-INF/classes/cxf-beans.xml] ist ungültig; verschachtelte Ausnahme ist org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: Die passende Platzhalter ist streng, aber keine Erklärung finden für element 'jaxws:endpoint'.'

InformationsquelleAutor bharanitharan | 2013-06-25

Schreibe einen Kommentar