java.lang.NoClassDefFoundError: com/cc/aa/ejb/obj/HHLocalHome

Oracle Community | 666705 | 8 years ago
  1. 0

    NoClassDefFoundError on the managed server which comes up second

    Oracle Community | 8 years ago | 666705
    java.lang.NoClassDefFoundError: com/cc/aa/ejb/obj/HHLocalHome
  2. 0

    NoClassDefFoundError on the managed server which comes up second ..... ??

    Coderanch | 8 years ago | Gaurav Ra
    java.lang.NoClassDefFoundError: com/cc/aa/ejb/obj/HHLocalHome
  3. 0

    Oracle® Audit Vault

    oracle.com | 4 months ago
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequest
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to run the test on an project created using the transport archetype. Getting this failure: java.lang.NoClassDefFoundError: org/junit/rules/TestRule at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getMethod0(Class.java:2670) at java.lang.Class.getMethod(Class.java:1603) at org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:20) at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:13) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57) at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24) at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45) at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209) at org.apache.maven.surefire.Surefire.run(Surefire.java:156) 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:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) Caused by: java.lang.ClassNotFoundException: org.junit.rules.TestRule at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 21 more Steps to reproduce: _Create a project using the transport archetype. _ Run mvn test _ Check the surefire log to see the exception stack trace

    MuleSoft JIRA | 5 years ago | Pablo Kraan
    java.lang.NoClassDefFoundError: org/junit/rules/TestRule

  1. serious2monkeys 5 times, last 5 days ago
  2. Luka 4 times, last 2 months ago
  3. davidvanlaatum 14 times, last 6 months ago
29 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.NoClassDefFoundError

    com/cc/aa/ejb/obj/HHLocalHome

    at java.lang.Class.getDeclaredMethods0()
  2. Java RT
    Class.getMethod
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
    3. java.lang.Class.getMethod0(Class.java:1901)
    4. java.lang.Class.getMethod(Class.java:984)
    4 frames
  3. com.cc.aa
    AcMa_sbdv2o_HomeImpl.<init>
    1. com.cc.aa.service.data.dd.am.ejb.AcMa_sbdv2o_HomeImpl.<init>(AcMa_sbdv2o_HomeImpl.java:231)
    1 frame
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:219)
    2 frames
  5. weblogic.j2ee
    ApplicationManager.loadClassWithNoDependencyClassLoader
    1. weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:277)
    2. weblogic.j2ee.ApplicationManager.loadClassWithNoDependencyClassLoader(ApplicationManager.java:233)
    2 frames
  6. weblogic.rmi.cluster
    ClusterableRemoteObject.getReferent
    1. weblogic.rmi.cluster.ReplicaAwareRemoteObject.getPrimaryRepresentative(ReplicaAwareRemoteObject.java:92)
    2. weblogic.rmi.cluster.ClusterableRemoteObject.getReferent(ClusterableRemoteObject.java:109)
    2 frames
  7. weblogic.jndi.internal
    WLContextImpl.lookup
    1. weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:90)
    2. weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:292)
    3. weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:798)
    4. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    5. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:196)
    6. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:196)
    7. weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:258)
    8. weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:363)
    8 frames
  8. Java RT
    InitialContext.lookup
    1. javax.naming.InitialContext.lookup(InitialContext.java:347)
    1 frame
  9. com.cc.aa
    BeanLocator.getObjFromJndi
    1. com.cc.aa.tool.loc.BeanLocator.getObjFromJndi(BeanLocator.java:321)
    1 frame