java.lang.NoSuchMethodError: com.evermind.server.OC4JMonitorThread.setAppClassification(Ljava/lang/String;Ljava/lang/String;)V

Oracle Community | 675643 | 8 years ago
  1. 0

    OC4J doesn't startup

    Oracle Community | 8 years ago | 675643
    java.lang.NoSuchMethodError: com.evermind.server.OC4JMonitorThread.setAppClassification(Ljava/lang/String;Ljava/lang/String;)V
  2. 0

    jnlp issue after upgrading to jre7u51

    Oracle Community | 3 years ago | stevehel
    java.lang.NoSuchMethodError: com.sun.deploy.security.ruleset.RuleId.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  3. 0

    When I delete my asm.jar, I correctly get org/objectweb/asm/CodeVisitor java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor The above proves I don't accidentally have another version on the class path. Once I put the correct version of asm.jar from hibernate core back in, I get the following error.... [junit] org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/ String;[Ljava/lang/String;Ljava/lang/String;)V [junit] java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(II Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V [junit] at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java: 77) [junit] at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFacto ry.java:173) [junit] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGe neratorStrategy.java:25) [junit] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClass Generator.java:216) [junit] at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java :145) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) [junit] at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) [junit] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyF actory(CGLIBLazyInitializer.java:117) [junit] at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstanti ate(CGLIBProxyFactory.java:43) [junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFacto ry(PojoEntityTuplizer.java:162) [junit] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(Abst ractEntityTuplizer.java:135) [junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEnti tyTuplizer.java:55) [junit] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping. <init>(EntityEntityModeToTuplizerMapping.java:56) [junit] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetam odel.java:302) [junit] at org.hibernate.persister.entity.AbstractEntityPersister.<init> (AbstractEntityPersister.java:434) [junit] at org.hibernate.persister.entity.SingleTableEntityPersister.<in it>(SingleTableEntityPersister.java:109) [junit] at org.hibernate.persister.PersisterFactory.createClassPersister (PersisterFactory.java:55) [junit] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm pl.java:226) [junit] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura tion.java:1300) [junit] at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory (AnnotationConfiguration.java:859) [junit] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory (Ejb3Configuration.java:669) [junit] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFac tory(HibernatePersistence.java:126) [junit] at javax.persistence.Persistence.createEntityManagerFactory(Pers istence.java:51) [junit] at biz.xsoftware.rocketwar.server.test.AbstractHibTestCase.build SessionFactory(AbstractHibTestCase.java:51) [junit] at biz.xsoftware.rocketwar.server.test.AbstractHibTestCase.setUp Impl(AbstractHibTestCase.java:67) [junit] at biz.xsoftware.mock.testcase.MockTestCase.setUp(MockTestCase.j ava:52) [junit] at biz.xsoftware.mock.testcase.MockTestCase.runBare(MockTestCase .java:112) The manifest version of asm.jar is 1.5.3. The cglib is called cglib-2.1.3 but has not versoin in the manifest at all. I really don't know what is going on. Is it going through a special path of code that doesn't work and is a bug. I can't see how this can be user error right now since when I remove the asm.jar, I get classnotfound. It is interesting that the class not found is CodeVisitor while methodnot found is on Classvisitor. I am still looking into this but can't seem to figure out the bug completely.

    Hibernate JIRA | 9 years ago | Dean Hiller
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(II Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I delete my asm.jar, I correctly get org/objectweb/asm/CodeVisitor java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor The above proves I don't accidentally have another version on the class path. Once I put the correct version of asm.jar from hibernate core back in, I get the following error.... [junit] org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/ String;[Ljava/lang/String;Ljava/lang/String;)V [junit] java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(II Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V [junit] at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java: 77) [junit] at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFacto ry.java:173) [junit] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGe neratorStrategy.java:25) [junit] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClass Generator.java:216) [junit] at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java :145) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) [junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) [junit] at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) [junit] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyF actory(CGLIBLazyInitializer.java:117) [junit] at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstanti ate(CGLIBProxyFactory.java:43) [junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFacto ry(PojoEntityTuplizer.java:162) [junit] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(Abst ractEntityTuplizer.java:135) [junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEnti tyTuplizer.java:55) [junit] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping. <init>(EntityEntityModeToTuplizerMapping.java:56) [junit] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetam odel.java:302) [junit] at org.hibernate.persister.entity.AbstractEntityPersister.<init> (AbstractEntityPersister.java:434) [junit] at org.hibernate.persister.entity.SingleTableEntityPersister.<in it>(SingleTableEntityPersister.java:109) [junit] at org.hibernate.persister.PersisterFactory.createClassPersister (PersisterFactory.java:55) [junit] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm pl.java:226) [junit] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura tion.java:1300) [junit] at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory (AnnotationConfiguration.java:859) [junit] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory (Ejb3Configuration.java:669) [junit] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFac tory(HibernatePersistence.java:126) [junit] at javax.persistence.Persistence.createEntityManagerFactory(Pers istence.java:51) [junit] at biz.xsoftware.rocketwar.server.test.AbstractHibTestCase.build SessionFactory(AbstractHibTestCase.java:51) [junit] at biz.xsoftware.rocketwar.server.test.AbstractHibTestCase.setUp Impl(AbstractHibTestCase.java:67) [junit] at biz.xsoftware.mock.testcase.MockTestCase.setUp(MockTestCase.j ava:52) [junit] at biz.xsoftware.mock.testcase.MockTestCase.runBare(MockTestCase .java:112) The manifest version of asm.jar is 1.5.3. The cglib is called cglib-2.1.3 but has not versoin in the manifest at all. I really don't know what is going on. Is it going through a special path of code that doesn't work and is a bug. I can't see how this can be user error right now since when I remove the asm.jar, I get classnotfound. It is interesting that the class not found is CodeVisitor while methodnot found is on Classvisitor. I am still looking into this but can't seem to figure out the bug completely.

    Hibernate JIRA | 9 years ago | Dean Hiller
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(II Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
  6. 0

    Exceptions in web application - Spring Forum

    spring.io | 1 year ago
    java.lang.NoSuchMethodError: org.springframework.web.context.support.RequestHandledEvent.<init>(Ljava/lang/Object;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    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

      com.evermind.server.OC4JMonitorThread.setAppClassification(Ljava/lang/String;Ljava/lang/String;)V

      at com.evermind.server.http.HttpSite.addRoutingInfo()
    2. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.http.HttpSite.addRoutingInfo(HttpSite.java:1478)
      2. com.evermind.server.http.HttpSite.initApplications(HttpSite.java:620)
      3. com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
      4. com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
      5. com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
      6. com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
      7. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
      8. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      8 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame