We get IllegalAnnotationExceptions on execution of
private static final Service TE_SERVICE = Service.create(new
QName("http://engine.bpm.xxx.de/", "TaskExecutorControllerService"));
I've have put geronimo-ws-metadata_2.0_spec-1.1.1.jar in the
$Weblogic_Home/jdk_../jre/lib/endorsed folder as suggested here
http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-WebLogic
It did not help.
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 3 counts
of IllegalAnnotationExceptions
javax.xml.namespace.QName does not have a no-arg default constructor.
this problem is related to the following location:
at javax.xml.namespace.QName
at public java.util.Map
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address.attributes
at
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address
at public
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address
com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr
at
com.sun.xml.ws.developer.MemberSubmissionEndpointReference
org.w3c.dom.Element is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at org.w3c.dom.Element
at public java.util.List
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements.elements
at
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements
at public
com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements
com.sun.xml.ws.developer.MemberSubmissionEndpointReference.refer
What might be the problem?
Thanks.
Best regards,
Miloslav
--
View this message in context:
http://cxf.547215.n5.nabble.com/IllegalAnnotationExceptions-on-WebLogic-Server-12-1-1-0-with-CXF-2-5-2-tp5651146p5651146.html
Sent from the cxf-user mailing list archive at Nabble.com.