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 Hibernate JIRA by Sergey Vladimirov, 1 year ago
via Hibernate JIRA by Sergey Vladimirov, 1 year ago
java.lang.ClassCastException: java.lang.reflect.Method	at org.hibernate.cfg.PropertyInferredData.extractType(PropertyInferredData.java:182)	at org.hibernate.cfg.PropertyInferredData.execute(PropertyInferredData.java:108)	at org.hibernate.cfg.PropertyInferredData.skip(PropertyInferredData.java:57)	at org.hibernate.cfg.AnnotationBinder.addAnnotatedElement(AnnotationBinder.java:831)	at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:808)	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:641)	at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:266)	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:199)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145)	at ru.arptek.arpsite.data.composedKey.transientMethod.TransientMethodTest.setUp(TransientMethodTest.java:129)	at junit.framework.TestCase.runBare(TestCase.java:125)	at junit.framework.TestResult$1.protect(TestResult.java:106)	at junit.framework.TestResult.runProtected(TestResult.java:124)	at junit.framework.TestResult.run(TestResult.java:109)	at junit.framework.TestCase.run(TestCase.java:118)	at junit.framework.TestSuite.runTest(TestSuite.java:208)	at junit.framework.TestSuite.run(TestSuite.java:203)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)