Build spring project error based on Maven _nestedruntimeexception cannot be resolved

Source: Internet
Author: User

can also access to http://dhatria.com/2016/05/26/foe03/

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 the "Spring frameworks core jar to the" build path. The dependent spring context jar is 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 being the same for your) to the "Build path." You might also need the Org.springframework.context-4.2.6.jar. The Jars can be downloaded fromhere. Can always use MAVEN dependencies to resolve this error. When using Maven, add the dependency to the Pom.xml file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.