Maven Deploy exception fatal error Compiling:tools.jar not found errors

Source: Internet
Author: User
1 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default- Compile) on Project Com.dallas.pay:Fatal error Compiling:tools.jar not found:d:\java\jre7\: \lib\tools.jar, [Help 1]

Above is the error message: it means in D:\Java\jre7\. Tools.jar package not found in \lib\ directory

Workaround:

1. Click Eclipse Menu: Window->preferences->java->installed jres, select Edit on the right to modify the JREs;

2. Check the JRE home settings path The following list does not have this jar package, add it, or modify the path

3. Then click the Finish button in the pop-up window and the OK button on the main page to resolve the issue.

Maven Deploy exception fatal error Compiling:tools.jar not found errors

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.