Problem solving of failed to read candidate component class in Java

First of all, you can clear the class and recompile it. If it is not solved, it is possible that your spring framework package version cannot use your JDK Version (such as: 3.2.2. Release), or other packages conflict with the JDK version

The solution is to modify the version level of spring framework (3.1.2. Release) or the version of JDK

Read More: