Maven项目build时出现No compiler is provided in this environment的处理

清疚 2023-05-31 12:03 124阅读 0赞

build时出现:

[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

在菜单栏中>Window—>preferences—>Java—>Installed JREs

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3Y3OTA4NzM_size_16_color_FFFFFF_t_70

选择添加JDK环境即可

发表评论

表情:
评论列表 (有 0 条评论,124人围观)

还没有评论,来说两句吧...

相关阅读