标签:work miss art classpath contex osi time corrupted cat
Error:The type org.springframework.core.NestedRuntimeException cannot be resolved. It is indirectly referenced from required .class files
Story:
It is most common for developers to forget adding the jars to the classpath. I had apparently missed to add the Spring frameworks core jar to the build path. The dependent spring context jar was added but missed the spring core jar. The application hit this error.
Solution:
This error occurs when the spring-core jar is missing or corrupted. Add/replace the new spring-core-4.2.6.RELEASE.jar (version might not be the same for you) to the build path. You might also need the org.springframework.context-4.2.6.jar. The Jars can be downloaded fromhere. You can always use maven dependencies to resolve this error. When using maven, add the dependency to the pom.xml file.
将jar包换到高版本就解决问题了^_^
maven构建spring报错org.springframework.core.NestedRuntimeException cannot be resolved.
标签:work miss art classpath contex osi time corrupted cat
原文地址:http://www.cnblogs.com/beautifullife4e/p/7505383.html