![maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot](https://s2.51cto.com/images/blog/202112/31111131_61ce74e31688b10765.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
maven打包报错Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_151\..\lib\tool_51CTO博客_maven打包报错springboot
![How to fix "Could not find tools.jar. Please check that Java\jre contains a valid JDK installation"? - YouTube How to fix "Could not find tools.jar. Please check that Java\jre contains a valid JDK installation"? - YouTube](https://i.ytimg.com/vi/xs4Xnk-gZPE/maxresdefault.jpg)
How to fix "Could not find tools.jar. Please check that Java\jre contains a valid JDK installation"? - YouTube
GitHub - olivergondza/maven-jdk-tools-wrapper: Universal dependency to build against jdk.tools (AKA tools.jar) in a portable way
![java - Maven : Missing artifact com.sun:tools:jar:1.6.0 compile time exception in POM.xml - Stack Overflow java - Maven : Missing artifact com.sun:tools:jar:1.6.0 compile time exception in POM.xml - Stack Overflow](https://i.stack.imgur.com/L79mZ.png)
java - Maven : Missing artifact com.sun:tools:jar:1.6.0 compile time exception in POM.xml - Stack Overflow
![java - Eclipse use non-existing jre version to resolve maven dependency of tools.jar - Stack Overflow java - Eclipse use non-existing jre version to resolve maven dependency of tools.jar - Stack Overflow](https://i.stack.imgur.com/ZmWnW.jpg)
java - Eclipse use non-existing jre version to resolve maven dependency of tools.jar - Stack Overflow
![Fix error "Could not find artifact com.sun:tools:jar:1.5.0" of Apache Maven in Anypoint Studio - Huong Dan Java Fix error "Could not find artifact com.sun:tools:jar:1.5.0" of Apache Maven in Anypoint Studio - Huong Dan Java](https://huongdanjava.com/wp-content/uploads/2018/12/fix-error-could-not-find-artifact-com-suntoolsjar1-5-0-of-apache-maven-in-anypoint-studio-1.png)