java.lang.NoClassDefFoundError: junit/framework/TestCase

openejb-users | Jeremy Whitlock | 10 years ago
  1. 0

    Maven Issues Running OpenEJB Tests

    openejb-users | 10 years ago | Jeremy Whitlock
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  2. 0

    Maven Issues Running OpenEJB Tests

    openejb-users | 10 years ago | Jeremy Whitlock
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  3. 0

    Maven Issues Running OpenEJB Tests

    openejb-users | 10 years ago | Jeremy Whitlock
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {noformat} 2009-06-08 19:42:23 ERROR [er_start_runner] - org.mortbay.log - failed org.mortbay.jetty.webapp.WebAppContext@ad4d40{/nexus,../../../runtime/apps/nexus/webapp} java.lang.NoClassDefFoundError: junit/framework/TestCase at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at org.codehaus.plexus.classworlds.strategy.ForeignStrategy.loadClass(ForeignStrategy.java:35) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:207) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:174) at org.codehaus.plexus.classworlds.strategy.DefaultStrategy.loadClass(DefaultStrategy.java:67) at org.codehaus.plexus.classworlds.strategy.ForeignStrategy.loadClass(ForeignStrategy.java:39) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:207) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.sonatype.nexus.configuration.SimpleApplicationConfiguration.getWorkingDirectory(SimpleApplicationConfiguration.java:62) at org.sonatype.nexus.proxy.repository.AbstractRepositoryConfigurator.doApplyConfiguration(AbstractRepositoryConfigurator.java:128) at org.sonatype.nexus.proxy.repository.AbstractProxyRepositoryConfigurator.doApplyConfiguration(AbstractProxyRepositoryConfigurator.java:26) at org.sonatype.nexus.proxy.maven.AbstractMavenRepositoryConfigurator.doApplyConfiguration(AbstractMavenRepositoryConfigurator.java:37) at org.sonatype.nexus.proxy.repository.AbstractRepositoryConfigurator.applyConfiguration(AbstractRepositoryConfigurator.java:63) at org.sonatype.nexus.configuration.AbstractConfigurable.doConfigure(AbstractConfigurable.java:95) at org.sonatype.nexus.configuration.AbstractConfigurable.configure(AbstractConfigurable.java:63) at org.sonatype.nexus.configuration.application.runtime.DefaultApplicationRuntimeConfigurationBuilder.createRepositoryFromModel(DefaultApplicationRuntimeConfigurationBuilder.java:46) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryFromModel(DefaultNexusConfiguration.java:328) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositories(DefaultNexusConfiguration.java:431) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createInternals(DefaultNexusConfiguration.java:411) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:896) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:860) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:329) at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:165) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:377) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:309) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:255) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:329) at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:165) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:372) at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:585) at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:275) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:166) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:315) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) {noformat}

    Sonatype JIRA | 7 years ago | Juven Xu
    java.lang.NoClassDefFoundError: junit/framework/TestCase
  6. 0

    Eclipse 3.1 problems!

    strutstestcase | 1 decade ago | nobody
    java.lang.NoClassDefFoundError: junit/framework/TestCase

  1. kjhdofjosvs 3 times, last 3 weeks ago
  2. Luka 24 times, last 2 months ago
  3. andyglick 2 times, last 2 months ago
  4. tfr 8 times, last 4 months ago
  5. pnaranja 1 times, last 5 months ago
5 more registered users
90 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

    junit/framework/TestCase

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    10 frames
  3. SureFire
    Surefire.run
    1. org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:100)
    2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:84)
    3. org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
    4. org.apache.maven.surefire.Surefire.run(Surefire.java:108)
    4 frames
  4. 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
  5. SureFire
    SurefireBooter.main
    1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
    2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
    2 frames