The solution of java:unresolved compilation problem

Source: Internet
Author: User

To see the literal meaning of this exception is the unresolved compilation problem, but there may be many reasons for this problem.

Today, this problem is due to the fact that a new project has just been checked out and the project was built with a few details that caused the error.

1, your server's runtime environment may have specified Tomcat, but right-click the Java build of your project Properties option Tomcat in the Libraries tab in path may still be unbound state, and you will have this exception.

2. The compiler version of your project is lower than the version of the running Environment JRE, which can also cause this exception.

The information I found on the internet said that there was also a problem with the jar package when using the Maven tool, but I didn't use MAVEN, so it's not clear that the two situations are known.

The solution of java:unresolved compilation problem

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.