简体   繁体   中英

maven, APT problems, eclipse

I have a maven project that I am trying to build in my workspace in eclipse . Now, I changed my java path from 'C:\\Program Files\\Java\\jdk1.7.0_79' to 'C:\\new\\Java\\jdk1.7.0_79' for some valid reasons.

I updated the path in environment variable and eclipse accordingly. However, when I build the project, I face the following error:

Project UPF-Desktop is missing required annotation processor library:'C:\\Program Files\\Java\\jdk1.7.0_79\\lib\\tools.jar' Annotation processor factory path APT Build Problem

tools.jar is present in the new Java location, but it is looking for tools.jar in a non-existing location, altogether.

Maybe you mast update JAVA_HOME path? Is also in advanced system settings

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM