Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by CelsoGG
, 1 year ago
com.sun.proxy.$Proxy56 cannot be cast to org.jboss.lang.Annotation
java.lang.ClassCastException: com.sun.proxy.$Proxy56 cannot be cast to org.jboss.lang.Annotation	at org.jboss.lang.AnnotationHelper.getAnnotation(AnnotationHelper.java:80)	at org.jboss.lang.AnnotationHelper.isAnnotationPresent(AnnotationHelper.java:61)	at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.isWebserviceDeployment(DeployerInterceptorJSE.java:125)	at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:76)	at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74)	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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 com.sun.proxy.$Proxy39.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.GeneratedMethodAccessor55.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)	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 com.sun.proxy.$Proxy8.deploy(Unknown Source)	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)