运行Maven Test时报错No compiler is provided in this environment. Perhaps you are running on a JRE rather

解决方法:选中运行报错的Maven项目-->Window-->Preferences-->Java-->Installed JREs-->勾选jre...-->Apply-->OK,如图所示:

运行Maven Test时报错No compiler is provided in this environment. Perhaps you are running on a JRE rather_第1张图片

再次运行Maven Test,问题解决。

你可能感兴趣的:(Maven)