java.lang.NoSuchMethodError: org.eclipse.persistence.sessions.DatabaseLogin.clone()Lorg/eclipse/persistence/sessions/DatasourceLogin;

Oracle Community | VikramBailur | 4 years ago
  1. 0

    Error Deploying Mdb: "Nosuchmethoderror At Oracle.Jms.Ojmsresource.Inittcf"??

    wpthm.com | 1 year ago
    java.lang.NoSuchMethodError: org.eclipse.persistence.sessions.DatabaseLogin.clone()Lorg/eclipse/persistence/sessions/DatasourceLogin;
  2. 0

    Error during deployment - NoSuchMethodError DatabaseLogin.clone()

    Oracle Community | 4 years ago | VikramBailur
    java.lang.NoSuchMethodError: org.eclipse.persistence.sessions.DatabaseLogin.clone()Lorg/eclipse/persistence/sessions/DatasourceLogin;
  3. 0
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.eclipse.persistence.sessions.DatabaseLogin.clone()Lorg/eclipse/persistence/sessions/DatasourceLogin;

      at oracle.tip.adapter.db.DBManagedConnectionFactory.buildServerSession()
    2. oracle.tip.adapter
      DBConnection.getSession
      1. oracle.tip.adapter.db.DBManagedConnectionFactory.buildServerSession(DBManagedConnectionFactory.java:1316)
      2. oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1172)
      3. oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:635)
      4. oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:379)
      5. oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:264)
      5 frames