java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9282

  • 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
  • via Google Groups by Cwellan, 1 year ago
    org.hibernate.mapping.SimpleValue.<init>(Lorg/hibernate/mapping/Table;)V
  • Stack trace

    • 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.<init>(HibernateSessionFactory.java:39) at com.cantorindex.persistence.HibernateSessionFactory.<init>(HibernateSessionFactory.java:28) at com.cantorindex.busobj.OrderTest.<clinit>(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 com.intellij.rt.execution.junit.TextTestRunner2.getTest(TextTestRunner2.java:36) at junit.textui.TestRunner.start(TestRunner.java:171) at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23) 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) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

    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

    Unknown user
    Once, 1 year ago