bug3:Caused by: java.lang.ClassNotFoundException
项目昨天启动好好的,今天来了之后就启动不了。启动提示class没有找到
Caused by: java.lang.ClassNotFoundException: com.yhd.popsicle.system.jobs.KiraConf
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:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:415)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1284)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1255)
... 80 more
Related cause:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.yhd.popsicle.security.core.cache.SecurityCacheManager] for bean with name 'securityCacheManager' defined in URL [jar:file:/D:/Develop/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/popsicle-webapp/WEB-INF/lib/popsicle-web-security-0.0.1-SNAPSHOT.jar!/conf/sys/popsicle-shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.yhd.popsicle.security.core.cache.SecurityCacheManager
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1263)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:581)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1332)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:337)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:308)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)
at org.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors(BeanFactoryAspectJAdvisorsBuilder.java:90)
at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:86)
at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:107)
本来以为是没有编译,所以clear项目,但是都不成功。后来看了一下build path 发现导入的jar包报错。说没有找到jar包。
问题已经定位:因为项目jar包导入失败,所以在clear项目时项目不会去编译Java文件,导致没有生成class文件
上一篇: MeeGo平台将主攻平板电脑和嵌入式系统
下一篇: JavaScript面向对象编程
推荐阅读
-
Android Caused by: java.lang.ClassNotFoundException解决办法
-
Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)
-
Caused by: android.os.NetworkOnMainThreadException错误解决办法
-
Caused by: java.lang.reflect.InvocationTargetException
-
安装ssl证书后报错Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
-
Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details se
-
Caused by: java.lang.ClassNotFoundException: org.junit.platform.launcher.TestExecutionListener
-
Android <java.lang.ClassNotFoundException:Didn‘t find class ‘XXX‘ on path:DexPathList> 解决
-
idea启动项目报错Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
-
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���ʱ��' is unrecognized or represents m