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 Paul Nardone, 1 year ago
via Hibernate JIRA by Paul Nardone, 1 year ago
via Hibernate JIRA by Oliver Ringel, 1 year ago
via Hibernate JIRA by Oliver Ringel, 2 years ago
via gilead by sridheropenid
, 2 years ago
Unknown collection role: null
via Hibernate JIRA by Marcin Mościcki, 1 year ago
Unknown collection role: hibernatedemo.model.person.personMap
org.hibernate.MappingException: Unknown collection role: test.BookDefinition.bookMarks	at org.hibernate.impl.SessionFactoryImpl.getCollectionPersister(SessionFactoryImpl.java:701)	at org.hibernate.ejb.criteria.path.PluralAttributePath.resolvePersister(PluralAttributePath.java:58)	at org.hibernate.ejb.criteria.path.PluralAttributePath.(PluralAttributePath.java:52)	at org.hibernate.ejb.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:162)	at test.Test.testTestSystem(Test.java:136)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:76)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)	at org.testng.TestRunner.privateRun(TestRunner.java:749)	at org.testng.TestRunner.run(TestRunner.java:600)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)	at org.testng.SuiteRunner.run(SuiteRunner.java:223)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)	at org.testng.TestNG.runSuitesLocally(TestNG.java:964)	at org.testng.TestNG.run(TestNG.java:900)	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:60)	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:106)	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)	at $Proxy0.invoke(Unknown Source)	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)