Java solution: The project cannot be built until build path errors are resolved, errorsresolved

Source: Internet
Author: User

Java solution: The project cannot be built until build path errors are resolved, errorsresolved

Reference: http://blog.csdn.net/marty_zhu/article/details/2566299

1. Check if project -- Build Automatically is checked? If not, clean it and restart eclipse.

2. check whether there is any unused jar package in your lib. check whether there is any wrong path in your. classpath file.

3. This is the most important point. check whether there are any error messages about this project in the problems view. This is generally the case: the project cannot be built until build path errors are resolved and then The following prompt is unbound classpath, which is generally in. delete these paths in classpath.

4. After installing Tomcat, make sure that the {tomcat_home}/common/lib folder contains jasper-runtime.jar, jsp-api.jar, servlet-api.jar, jndi. jar files. Start Eclipse. The first time you start Eclipse, there will be a configuration process. select window/preferences on the menu, select java/classpath variables, add JDK_TOOLS and point to your {jdk_home}/lib/tools. jar environment variable.

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.