java.lang.NoClassDefFoundError: org/springframework/context/annotation/AnnotationConfigRegistry

Stack Overflow | user31032 | 2 months ago
  1. 0

    SpringMVC is failing to instantiate @RestController annoted class

    Stack Overflow | 2 months ago | user31032
    java.lang.NoClassDefFoundError: org/springframework/context/annotation/AnnotationConfigRegistry
  2. 0

    Installing MS SQL driver into Eclipse Maven

    Stack Overflow | 4 months ago | arsarc
    java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
  3. 0

    ClassNotFoundException for apache http library

    GitHub | 3 years ago | ansell
    java.lang.ClassNotFoundException: org.apache.http.impl.client.SystemDefaultHttpClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hard dependency on OGNL + javassist for Non-StandardDialect

    GitHub | 3 years ago | zimmi
    java.lang.ClassNotFoundException: javassist.ClassPath

  1. Adarro 4 times, last 4 months ago
  2. andyglick 2 times, last 3 months ago
  3. andyglick 2 times, last 2 weeks ago
  4. davidvanlaatum 1 times, last 3 weeks ago
  5. davidvanlaatum 15 times, last 3 months ago
1 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.ClassNotFoundException

    org.springframework.context.annotation.AnnotationConfigRegistry

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    4 frames
  3. Jetty
    WebAppClassLoader.loadClass
    1. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
    2. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
    2 frames
  4. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    4. java.net.URLClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.access$100(Unknown Source)
    6. java.net.URLClassLoader$1.run(Unknown Source)
    7. java.net.URLClassLoader$1.run(Unknown Source)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(Unknown Source)
    9 frames
  5. Jetty
    WebAppClassLoader.loadClass
    1. org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:510)
    2. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)
    3. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
    3 frames
  6. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
    1 frame
  7. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.determineContextClass(ContextLoader.java:466)
    2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:355)
    3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
    4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
    4 frames
  8. Jetty
    WebAppContext.startWebapp
    1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
    2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
    3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
    4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
    5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
    5 frames
  9. Jetty :: Jetty Maven Plugin
    JettyWebAppContext.startWebapp
    1. org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)
    1 frame
  10. Jetty
    WebAppContext.doStart
    1. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
    2. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
    3. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
    3 frames
  11. Jetty :: Jetty Maven Plugin
    JettyWebAppContext.doStart
    1. org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)
    1 frame
  12. Jetty
    Server.doStart
    1. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    2. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    3. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    4. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    5. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
    6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    7. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    8. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    9. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    10. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    11. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    12. org.eclipse.jetty.server.Server.start(Server.java:387)
    13. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    14. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    15. org.eclipse.jetty.server.Server.doStart(Server.java:354)
    15 frames
  13. Jetty :: Jetty Maven Plugin
    JettyServer.doStart
    1. org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)
    1 frame
  14. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    1 frame
  15. Jetty :: Jetty Maven Plugin
    JettyRunMojo.execute
    1. org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)
    2. org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)
    3. org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)
    3 frames
  16. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  17. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  18. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    3 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  20. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames