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 Sonatype JIRA by Miro Lehky, 1 year ago
via GitHub by ifourmanov
, 1 year ago
org/sonar/java/checks/SubscriptionBaseVisitor
via Stack Overflow by H.Z.
, 2 years ago
scala/reflect/internal/util/AbstractFileClassLoader
via Stack Overflow by Sam
, 2 years ago
org/eclipse/jetty/util/component/AbstractLifeCycle
via Stack Overflow by Igal
, 2 years ago
org/junit/runners/BlockJUnit4ClassRunner
java.lang.ClassNotFoundException: org.mortbay.util.Attributes	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)	at java.net.URLClassLoader$1.run(URLClassLoader.java:367)	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)	at java.net.URLClassLoader$1.run(URLClassLoader.java:367)	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)	at java.net.URLClassLoader$1.run(URLClassLoader.java:367)	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)	at java.lang.Class.getDeclaredConstructors0(Native Method)	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)	at java.lang.Class.getDeclaredConstructors(Class.java:2007)	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)	at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)	at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:653)	at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:863)	at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790)	at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278)	at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210)	at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986)	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)	at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)	at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)	at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)	at com.google.inject.Scopes$1$1.get(Scopes.java:59)	at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)	at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:462)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)	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:120)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	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)