Failed to read candidate component class: URL [];

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to read candidate component class: URL [];相关的知识,希望对你有一定的参考价值。

异常信息:

Failed to read candidate component class: URL []; nested exception is java.lang.IllegalArgumentException

异常原因:

版本问题:
spring 3.2 不支持 jdk 1.8 编译环境。

解决方法:

把编译环境降为1.7;
或者把 spring 3.2 降为 spring 3.1 。

以上是关于Failed to read candidate component class: URL [];的主要内容,如果未能解决你的问题,请参考以下文章

Failed to read candidate component class的解决方案

Failed to read candidate component class的解决方案

Failed to read candidate component class的解决方案

错误解决BeanDefinitionStoreException: Failed to read candidate component class: file [mapper.class文件];

spring3.2.0与mybatis3.2.7整合出错--Failed to read candidate component class--nested exception is java.lan

日常Exception第三十一回:repackage failed: Unable to find a single main class from the following candidate