https://blog.csdn.net/qq_44027353/article/details/119788037
这里写自定义目录标题
当使用eclipse导入项目后,编译时报
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
错误
解决方法是:
- 添加jdk环境,
- maven也需要改改路径,
- 上面两步都很简单,随便百度都知道,但是有可能这时候还是会报错,那就还需要在eclipse 导航栏中 【Project】–>【Properties】–>【Java Build Path】–>【Libraries】