Maven-No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
问题原因:eclipse默认是运行在jre上的,但是maven插件需要使用jdk,因此需要在eclipse修改Installed JRES
位置在-->【Window】-->【Prefrences】-->【Java】-->【Installed JREs】
本文介绍了解决Eclipse中使用Maven插件时遇到的编译问题。问题出现的原因在于Eclipse默认使用JRE而非JDK,而Maven插件需要JDK的支持。文章提供了详细的步骤来修改Eclipse的设置,确保使用正确的JDK。
Maven-No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
问题原因:eclipse默认是运行在jre上的,但是maven插件需要使用jdk,因此需要在eclipse修改Installed JRES
位置在-->【Window】-->【Prefrences】-->【Java】-->【Installed JREs】
1641
146
1307

被折叠的 条评论
为什么被折叠?