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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...