简体   繁体   中英

Tools.jar is missing

I am running maven build -PautoInstallPackage on my AEM project and facing the following error.

Can't find tools.jar. Rerun delombok as: java -cp lombok.jar:/path/to/tools.jar lombok.launch.Main delombok /Users/ropatel/Documents/dev/local-project-folder/java /Users/ropatel/Documents/dev/local-project-folder/services/target/generated-sources/wsimport -d /Users/ropatel/Documents/dev/local-project-folder/services/target/src-delomboked

I have only made 2 changes since the last successful build. Removed some cache from my computer and updated to MacOs Big Sur. I have had security issues with mac OS update before but I made sure I provided java full disk access right now. Did anyone face this issue? I am running AEM 6.5 service pack 4 or 5. 在此处输入图像描述

Be sure to use the proper JDK and set it as your JAVA_HOME, that message usually happens when Maven is using a JRE instead of the JDK.

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