com.sun.proxy.$Proxy56 cannot be cast to org.jboss.lang.Annotation

Solutions on the web19620

Solution icon of stackoverflow
com.sun.proxy.$Proxy56 cannot be cast to org.jboss.lang.Annotation

Solution icon of github
com.sun.proxy.$Proxy26 cannot be cast to org.openqa.selenium.internal.Locatable

Solution icon of github
com.sun.proxy.$Proxy1220 cannot be cast to

Solution icon of googlegroups
via Google Groups by Jatin Puri, 1 month ago
com.sun.proxy.$Proxy0 cannot be cast to com.sun.jna.Library

Solution icon of web
via JIRA by Michal Malohlava, 10 months ago
com.sun.proxy.$Proxy19 cannot be cast to water.api.API

Solution icon of oraclecommunity
via Oracle Community by srikanth.patlolla, 1 year ago
com.sun.proxy.$Proxy4 cannot be cast to oracle.jdbc.OracleConnection

Solution icon of stackoverflow
com.sun.proxy.$Proxy0 cannot be cast to org.andrea.myexample.myDeclarativeTransactionSpring.StudentJDBCTemplate

Solution icon of stackoverflow
com.sun.proxy.$Proxy22 cannot be cast to books.pointejb.UserViewBean

Solution icon of stackoverflow
com.sun.proxy.$Proxy36 cannot be cast to org.hibernate.engine.spi.SessionImplementor

Solution icon of stackoverflow
com.sun.proxy.$Proxy62 cannot be cast to org.springframework.integration.context.IntegrationObjectSupport

Stack trace

  • java.lang.ClassCastException: com.sun.proxy.$Proxy56 cannot be cast to org.jboss.lang.Annotation at org.jboss.lang.AnnotationHelper.getAnnotation( at org.jboss.lang.AnnotationHelper.isAnnotationPresent( at at at at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create( at org.jboss.deployment.SubDeployerInterceptor.invoke( at at at at at com.sun.proxy.$Proxy39.create(Unknown Source) at org.jboss.deployment.MainDeployer.create( at org.jboss.deployment.MainDeployer.deploy( at org.jboss.deployment.MainDeployer.deploy( at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at at at at at at at at at com.sun.proxy.$Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy( at org.jboss.deployment.scanner.URLDeploymentScanner.scan( at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan( at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop( at org.jboss.deployment.scanner.AbstractDeploymentScanner$

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.