1. 程式人生 > >Failed to read candidate component class: URL [];

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 [];