BeanDefinitionStoreException: Failed to read candidate component class: file 问题的解决
来源:互联网 发布:阿里云io优化实例 编辑:程序博客网 时间:2024/06/14 02:51
Spring MVC 注解开发学习过程中遇到500 - Servlet.init() for servlet springmvc threw exception错误,详细信息如下:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/Users/Ethan/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/BtcWatcher/WEB-INF/classes/com/ziyouq/btcwatcher/controller/ItemsController3.class]; nested exception is java.lang.IllegalArgumentExceptionat org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:281)
参考博客:http://blog.csdn.net/yhl_jxy/article/details/52999571猜测可能是spring版本问题。
变更前环境:java1.8 Spring3.2
变更后环境:java1.8 Spring 4.3
升级Spring版本后,问题解决。
阅读全文
0 0
- BeanDefinitionStoreException: Failed to read candidate component class: file 问题的解决
- BeanDefinitionStoreException Failed to read candidate component class
- 解决:“ Failed to read candidate component class: file”问题
- maven项目导入:Failed to read candidate component class: file
- org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- Failed to read candidate component class
- HTML5 特点及变化
- bzoj4397[Usaco2015 dec]Breed Counting 前缀和
- Python与sql server数据库交互(学习日记)
- 阿里云申请SSL证书以及配置Tomcat为Https请求
- [NOIP2017模拟]Array
- BeanDefinitionStoreException: Failed to read candidate component class: file 问题的解决
- 计算机中cpu的速度和硬盘的容量
- Mybatis+MySql中字段名为保留字(关键字)的情况
- centos编译时报错:error: curses.h: No such file or directory
- MapReduce作业执行流程
- 数据结构实验之链表一:顺序建立链表
- 蓝牙的设置状态
- LFS实践记录
- MFC统计目录子文件子目录个数方法