cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: IllegalAnnotationExceptions on WebLogic Server 12.1.1.0 with CXF 2.5.2
Date Mon, 23 Apr 2012 17:49:52 GMT

You are definitely not picking up CXF here.   This is the sun reference 
implementation of JAX-WS that is being picked up. "com.sun.xml.ws"

Dan


On Thursday, April 19, 2012 01:06:49 AM miloslavskacel wrote:
> 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.attribu
> tes 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.elemen
> ts 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-S
> erver-12-1-1-0-with-CXF-2-5-2-tp5651146p5651146.html Sent from the
> cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message