![Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk. tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> | Velmurugan Velayutham Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk. tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> | Velmurugan Velayutham](https://velmuruganv.files.wordpress.com/2014/03/jdk_home_2.png)
Failed to execute goal on project core: Could not resolve dependencies for project com.mycompany:core:jar:1.0: Could not find artifact jdk.tools:jdk. tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar -> | Velmurugan Velayutham
![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
![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/31111130_61ce74e2e28496516.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 tools jar not found exception? | Convert WSDL file to Java Class| NetBeans |Thiri Akai - YouTube How to fix tools jar not found exception? | Convert WSDL file to Java Class| NetBeans |Thiri Akai - YouTube](https://i.ytimg.com/vi/HeJfuZzliXg/maxresdefault.jpg)