When you run springmvc project to build a good, appear
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class:
This problem occurs with the spring version java version of the problem.
You need all the jar spring package replacement.
Or put the project into java version and a version suitable for running jar package