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文件

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值