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

Hibernate JIRA | Colin Smith | 1 decade ago
  1. 0

    Exception in thread "main" 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)

    Hibernate JIRA | 1 decade ago | Colin Smith
    java.lang.NoSuchMethodError: org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
  2. 0

    Exception in thread "main" 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)

    Hibernate JIRA | 1 decade ago | Colin Smith
    java.lang.NoSuchMethodError: org.hibernate.mapping.OneToOne.<init>(Lorg/hibernate/mapping/Table;Lorg/hibernate/mapping/KeyValue;)V
  3. 0

    Hibernate slf4j exception

    Stack Overflow | 5 years ago | pallavi
    java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z at org.hibernate.type.NullableType.&lt;clinit&gt;(NullableType.java:59) at org.hibernate.Hibernate.&lt;clinit&gt;(Hibernate.java:103) at org.hibernate.type.TypeFactory.&lt;clinit&gt;(TypeFactory.java:69)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MySQL, JPA with Play! Framework

    Google Groups | 5 years ago | Cwellan
    java.lang.NoSuchMethodError: org.hibernate.mapping.SimpleValue.<init>(Lorg/hibernate/mapping/Table;)V
  6. 0

    db module "play db:import" give this exception

    Stack Overflow | 6 years ago | bArmageddon
    java.lang.NoSuchMethodError: org.hibernate.mapping.Si mpleValue.&lt;init&gt;(Lorg/hibernate/mapping/Table;)V

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at org.hibernate.cfg.AnnotationBinder.bindOneToOne()
    2. Hibernate
      Configuration.configure
      1. org.hibernate.cfg.AnnotationBinder.bindOneToOne(AnnotationBinder.java:1302)
      2. org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:757)
      3. org.hibernate.cfg.AnnotationBinder.processElementsOfAClass(AnnotationBinder.java:573)
      4. org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:436)
      5. org.hibernate.cfg.AnnotationConfiguration.addAnnotatedClass(AnnotationConfiguration.java:94)
      6. org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:235)
      7. org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1285)
      8. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
      9. org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
      10. org.hibernate.cfg.Configuration.configure(Configuration.java:1196)
      10 frames
    3. com.cantorindex.persistence
      HibernateSessionFactory.<init>
      1. com.cantorindex.persistence.HibernateSessionFactory.<init>(HibernateSessionFactory.java:39)
      2. com.cantorindex.persistence.HibernateSessionFactory.<init>(HibernateSessionFactory.java:28)
      2 frames
    4. com.cantorindex.busobj
      OrderTest.<clinit>
      1. com.cantorindex.busobj.OrderTest.<clinit>(OrderTest.java:24)
      1 frame
    5. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:164)
      2 frames
    6. JUnit
      BaseTestRunner.loadSuiteClass
      1. junit.runner.StandardTestSuiteLoader.load(StandardTestSuiteLoader.java:11)
      2. junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
      2 frames
    7. IDEA
      TextTestRunner2.getTest
      1. com.intellij.rt.execution.junit.TextTestRunner2.loadSuiteClass(TextTestRunner2.java:45)
      2. com.intellij.rt.execution.junit.TestRunnerUtil.getTestImpl(TestRunnerUtil.java:61)
      3. com.intellij.rt.execution.junit.TextTestRunner2.getTest(TextTestRunner2.java:36)
      3 frames
    8. JUnit
      TestRunner.start
      1. junit.textui.TestRunner.start(TestRunner.java:171)
      1 frame
    9. IDEA
      TextTestRunner2.startRunnerWithArgs
      1. com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
      1 frame
    10. com.intellij.rt
      JUnitStarter.main
      1. com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
      2. com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    12. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
      1 frame