30
在此环境中不提供编译器。也许您是在JRE而不是JDK上运行?
我正在使用m2eclipse在Eclipse中编译项目。我像这样在Eclipse中设置JDK路径: Windows-->preferences-->installed jres--> jdk1.7.xx path 但这显示了一个错误 [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.424s [INFO] Finished at: …