JBoss Community

JBossWS - AS 7 FAQ

new comment by Alexander Holbreich View all comments on this document

How should jboss-deployment-structure.xml look like to be able to use @InInterceptor annotation on own services.

 

I'm getting "transitiv dependencies" exception,

"org.apache.cxf.interceptor.Fault: Could not create annotation object: x.y.z.TestInterceptor",

Caused by: java.lang.InstantiationException: x.y.z.TestInterceptor

 

We use JBoss EAP 6. and i've tried all variants of



<module name="org.jboss.ws.cxf.jbossws-cxf-server"  export="true" />


<module name="org.jboss.ws.cxf.jbossws-cxf-client"  export="true" />


<module name="org.apache.cxf" services="export" export="true" />