javax.jws.WebService is also in ejb3.deployer/jboss-ejb3.jar and this version is
incompatible with the one in jbossws.sar/jboss-jaxws.jar. This leads to
[exec] java.lang.NoSuchMethodError:
javax.jws.WebService.portName()Ljava/lang/String;
[exec] at
org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:143)
[exec] at
org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75)
[exec] at
org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106)
[exec] at
org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
[exec] at
org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
[exec] at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
[exec] at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
The EJB3 package needs to be updated with the new version of the annotation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986563#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...