Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via Stack Overflow by user31032
, 1 year ago
org/springframework/context/annotation/AnnotationConfigRegistry
via GitHub by ShiningBoy
, 1 year ago
org/math/io/StringPrintable
via GitHub by henrykey
, 6 months ago
via GitHub by poliveira89
, 1 year ago
org/apache/http/HttpRequest
via Jenkins JIRA by Sergey Kadaner, 1 year ago
org/slf4j/spi/LoggerFactoryBinder
java.lang.ClassNotFoundException: org.springframework.context.annotation.AnnotationConfigRegistry	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(Unknown Source)	at java.security.SecureClassLoader.defineClass(Unknown Source)	at java.net.URLClassLoader.defineClass(Unknown Source)	at java.net.URLClassLoader.access$100(Unknown Source)	at java.net.URLClassLoader$1.run(Unknown Source)	at java.net.URLClassLoader$1.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(Unknown Source)	at org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:510)	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)	at org.springframework.web.context.ContextLoader.determineContextClass(ContextLoader.java:466)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:355)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:296)	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:365)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)	at org.eclipse.jetty.server.Server.start(Server.java:387)	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)	at org.eclipse.jetty.server.Server.doStart(Server.java:354)	at org.eclipse.jetty.maven.plugin.JettyServer.doStart(JettyServer.java:73)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:534)	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:357)	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:167)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)