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. 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.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something isn't configured correctly. So check whether the class is in the classpath. If this class is packaged to a jar file. Then the jar must also be in the lib path

Solutions on the web

via SpringSource Issue Tracker by MiB, 1 year ago
Cannot find class [no.spisero.butik.web.ApplicationConversionServiceFactoryBean] for bean with name 'applicationConversionService' defined in ServletContext resource [/WEB-INF/spring/webmvc-config.xml]; nested exception is java.lang.ClassNotFoundException: no.spisero.butik.web.ApplicationConversionServiceFactoryBean
via SpringSource Issue Tracker by MiB, 1 year ago
Cannot find class [no.spisero.butik.web.ApplicationConversionServiceFactoryBean] for bean with name 'applicationConversionService' defined in ServletContext resource [/WEB-INF/spring/webmvc-config.xml]; nested exception is java.lang.ClassNotFoundException: no.spisero.butik.web.ApplicationConversionServiceFactoryBean
via Spring JIRA by sreekanth, 1 year ago
Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader]
via Spring JIRA by sreekanth, 2 years ago
Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader]
via Stack Overflow by c12
, 2 years ago
Cannot find class [${jpa.vendor.adapter}] for bean with name 'jpaVendorAdapter' defined in class path resource [spring/gen2-context-api.xml]; nested exception is java.lang.ClassNotFoundException: ${jpa.vendor.adapter}
via Google Groups by Stefan Schlesinger, 2 months ago
Error loading class [org.red5.server.net.rtmpt.RTMPTServlet] for bean with name 'rtmptServlet' defined in class path resource [red5-core.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
java.lang.ClassNotFoundException: no.spisero.butik.web.ApplicationConversionServiceFactoryBean	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)	at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)	at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1282)	at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1253)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)	at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1330)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396)	at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1146)	at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275)	at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.initInterceptors(AbstractUrlHandlerMapping.java:168)	at org.springframework.web.servlet.handler.AbstractHandlerMapping.initApplicationContext(AbstractHandlerMapping.java:110)	at org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.initApplicationContext(AbstractDetectingUrlHandlerMapping.java:57)	at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)	at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72)	at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)	at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:109)	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:88)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)	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:293)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:467)	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:483)	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:358)	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:325)	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)	at javax.servlet.GenericServlet.init(GenericServlet.java:212)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)	at org.apache.catalina.core.StandardService.start(StandardService.java:525)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:592)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)