Maven Error
Notes
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project camel-templates: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre7\..\lib\tools.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
Resolution
Go to Eclipse windows->Preference and select java
Click on installed JRE and edit-> Add external jar and select tools.jar from JDK lib folder and add it.
No comments:
Post a Comment