`
zc985552943
  • 浏览: 291010 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
Babe4ca6-5e6f-33aa-9078-762ee3ccfb7e
云计算--hadoop
浏览量:11866
5e98c2c1-2a82-3388-bc80-7fca0170bb12
redis解说
浏览量:27148
088014c7-4d3f-39ce-b72e-4ebe7046a134
MongoDB读书笔记
浏览量:16005
D2b74847-c860-3e26-96fe-3fa4498d6348
Maven读书笔记
浏览量:27235
688db20f-402d-3a1d-8188-d6153d6c7465
Java通信
浏览量:13676
社区版块
存档分类
最新评论

bug3:Caused by: java.lang.ClassNotFoundException

    博客分类:
  • bug
阅读更多

项目昨天启动好好的,今天来了之后就启动不了。启动提示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文件

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics