[jboss-user] [JBossWS] - Re: Exception while deploying the webservice using jax-ws

tpawankumar do-not-reply at jboss.com
Wed Oct 24 01:39:21 EDT 2007


Hi All,

I have resolved ClassCastException issue.

Now i am getting this exception

org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (java.lang.annotation.AnnotationTypeMismatchException: Incorrectly
 typed data found for annotation element public abstract javax.xml.bind.annotati
on.XmlAccessType javax.xml.bind.annotation.XmlAccessorType.value() (Found data o
f type Ljavax/xml/bind/annotation/AccessType;.FIELD))
        at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:53)
        at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerI
nterceptor.java:83)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy46.create(Unknown Source)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)

I have created Schema classes by using JAXB 2.0 and i have deployed on JBoss 4.2.1.

Please any one suggest on this.

Thanks in Advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098115#4098115

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098115



More information about the jboss-user mailing list