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 GitHub by kratosmat
, 1 year ago
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geosdi.geoplatform.gui.server.service.client.CSVImporterClient]: Factory method 'getUploadCSVImporterClient' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/entity/mime/content/ContentBody
via iteye.com by Unknown author, 2 years ago
Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/config/applicationContext_jbpm.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory
via spring.io by Unknown author, 1 year ago
Error creating bean with name 'scopedTarget.connectionFactoryLocator' defined in class path resource [org/springframework/social/movies/config/SocialConfig.class]: Instantiation of bean failed; nested exception is
via Stack Overflow by David Williams
, 1 year ago
Error creating bean with name 'jaxRsServer' defined in class com.example.config.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public
via iteye.com by Unknown author, 1 year ago
Error creating bean with name 'webSocketHandlerMapping' defined in class path resource [org/springframework/web/socket/config/annotation/DelegatingWebSocketConfiguration.class]: Instantiation of bean failed; nested exception is
via Spring JIRA by Adrian Moos, 2 years ago
Error creating bean with name 'serviceLayer' defined in class path resource [ch/bedag/xyz/myapp/config/Application.class]: No matching factory method found: factory bean 'configurationClassPostProcessor'; factory method 'serviceLayer()'. Check that a method with the specified name exists and that it is non-static.
java.lang.ClassNotFoundException: org.apache.http.entity.mime.content.ContentBody	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:430)	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)	at org.geosdi.geoplatform.gui.server.service.client.ICSVImporterClient$CreateUploadCSVImporterClient.getUploadCSVImporterClient(ICSVImporterClient.java:40)	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:498)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:256)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)	at org.eclipse.jetty.server.Server.doStart(Server.java:281)	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:521)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)	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:863)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)	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:498)	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)