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. ,
    Expert tip

    This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

Solutions on the web

via Geographic Information Systems by vermesser123
, 1 year ago
Error loading class [org.geoserver.wps.gs.HelloWPS] for bean with name 'helloWPS' defined in URL [jar:file:/C:/Program%20Files/apache-tomcat-7.0.33-windows-x86/apache-tomcat-7.0.33/webapps/geoserver/WEB-INF/lib/hello_wps-2.2-SNAPSHOT.jar
via Stack Overflow by Thomas Buckley
, 1 year ago
Error loading class [org.thymeleaf.spring3.SpringTemplateEngine] for bean with name 'templateEngine' defined in ServletContext resource [/WEB-INF/Resources/applicationContext-config.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/thymeleaf/TemplateEngine
via YouTrack by Unknown author, 2 years ago
Cannot find class [jetbrains.youtrack.agile.chart.cumulativeFlow.CumulativeFlowSprintListenerServiceLocatorListener] for bean with name 'cumulativeFlowSprintListener' defined in URL [jar:file:/home/youtrack/server-8080/instances/youtrack-hosted
via com.br by Unknown author, 2 years ago
Cannot find class [com.mchange.v2.c3p0.ComboPooledDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.mchange.v2.c3p0.ComboPooledDataSource
via spring.io by Unknown author, 1 year ago
Cannot find class [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with name 'dataSource' defined in file [D:\stage fin d'etudes\eclipse-rcp-galileo-win32\eclipse\SpringConfig\applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource
via eclipse.org by Unknown author, 2 years ago
Cannot find class [org.springframework.jdbc.datasource.DriverManagerDataSource] for bean with name 'dataSource' defined in file [D:\stage fin d'etudes\eclipse-rcp-galileo-win32\eclipse\SpringConfig\applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource
java.lang.ClassNotFoundException: org.geotools.process.gs.GSProcess	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:791)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2904)	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)	at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)	at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)	at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)	at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)	at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1150)	at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:110)	at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:291)	at org.geoserver.config.GeoServerLoaderProxy.lookupGeoServerLoader(GeoServerLoaderProxy.java:71)	at org.geoserver.config.GeoServerLoaderProxy.setApplicationContext(GeoServerLoaderProxy.java:39)	at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:117)	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)	at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)	at org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)	at java.util.concurrent.FutureTask.run(FutureTask.java:166)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)