Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Trying to configure CXF 3 to use validation feature

$
0
0
Hi all,

I've been trying to get this working for ages, please could someone maybe
give me a pointer here.
I've followed this guide -->
http://cxf.apache.org/docs/validationfeature.html

For the life of me, every-time I try access my service, it gives me this
stack trace.
I have the right libs, I just cant see what on earth is causing this.

Please help.

</b> <u>The server encountered an internal error that prevented it from
fulfilling this request.</u></p><p><b>exception</b>
<pre>javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
</pre></p><p><b>root cause</b> <pre>java.lang.NoSuchMethodError:
org.apache.cxf.service.invoker.FactoryInvoker.isSingletonFactory()Z

org.apache.cxf.validation.AbstractValidationInterceptor.getServiceObject(AbstractValidationInterceptor.java:90)
org.apache.cxf.validation.BeanValidationInInterceptor.getServiceObject(BeanValidationInInterceptor.java:38)

org.apache.cxf.validation.AbstractValidationInterceptor.handleMessage(AbstractValidationInterceptor.java:60)
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)

org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)

org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)

org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is
available in the Apache Tomcat/7.0.54 logs.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/7.0.54</h3></body></html>

Viewing all articles
Browse latest Browse all 5648

Trending Articles