java.lang.NoSuchMethodError: org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V

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 Colin Smith, 1 year ago
org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
via Hibernate JIRA by Colin Smith, 1 year ago
org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
java.lang.NoSuchMethodError: org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
at org.hibernate.cfg.AnnotationBinder.bindOneToOne(AnnotationBinder.java:1302)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:757)
at org.hibernate.cfg.AnnotationBinder.processElementsOfAClass(AnnotationBinder.java:573)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:436)
at org.hibernate.cfg.AnnotationConfiguration.addAnnotatedClass(AnnotationConfiguration.java:94)
at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:235)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1285)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1196)
at com.cantorindex.persistence.HibernateSessionFactory.(HibernateSessionFactory.java:39)
at com.cantorindex.persistence.HibernateSessionFactory.(HibernateSessionFactory.java:28)
at com.cantorindex.busobj.OrderTest.(OrderTest.java:24)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at junit.runner.StandardTestSuiteLoader.load(StandardTestSuiteLoader.java:11)
at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
at com.intellij.rt.execution.junit.TextTestRunner2.loadSuiteClass(TextTestRunner2.java:45)
at com.intellij.rt.execution.junit.TestRunnerUtil.getTestImpl(TestRunnerUtil.java:61)
at junit.textui.TestRunner.start(TestRunner.java:171)
at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
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:585)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.