title: Parser Error cxf-beans.xml no declaration can be found for element 'jaxws:endpoint'
body: <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:jaxws=&quot;http://cxf.apache.org/jaxws&quot; xsi:schemaLocation=&quot;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&quot;&gt;
  &lt;import resource=&quot;classpath:META-INF/cxf/cxf.xml&quot; /&gt;
  &lt;import resource=&quot;classpath:META-INF/cxf/cxf-extension-soap.xml&quot; /&gt;
  &lt;import resource=&quot;classpath:META-INF/cxf/cxf-servlet.xml&quot; /&gt;
  &lt;jaxws:endpoint xmlns:tns=&quot;http://sampleService.viasat.com/&quot;
  id=&quot;sampleserviceinterfcae&quot; implementor=&quot;com.viasat.sampleservice.SampleServiceInterfcaeImpl&quot;
      wsdlLocation=&quot;wsdl/sampleserviceimplementation.wsdl&quot; endpointName=&quot;tns:SampleServiceImplementationPort&quot;
      serviceName=&quot;tns:SampleServiceImplementationService&quot; address=&quot;/SampleServiceImplementationPort&quot;&gt;
  &lt;jaxws:features&gt;
  &lt;bean class=&quot;org.apache.cxf.feature.LoggingFeature&quot; /&gt;
  &lt;/jaxws:features&gt;
  &lt;/jaxws:endpoint&gt;
  &lt;/beans&gt;
  </code></pre>
  <p>I'm using Maven to build the Application. After <code>mvn clean</code> and <code>mvn install</code> I deploy the application in Tomcat after which I'm getting the following error:</p>
  <blockquote>
  <p><code>Line 11 in XML document from ServletContext resource [/WEB-INF/classes/cxf-beans.xml] is invalid;</code></p>
  <p><code>nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxws:endpoint'</code></p>
  </blockquote>