renren-enterprise按照开发文档部署到本地运行提示有问题

提问 1 1007
youlq
youlq 2019-03-26
版本:renren-security security-enterprise-2.2 开发环境:
按照security-enterprise开发文档的步骤进行部署,但是在eclipse里面run的时候提示部分没有运行起来,JRE和JDK都装了, [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] Reactor Summary: [INFO] [INFO] security-enterprise ................................ SUCCESS [ 0.326 s] [INFO] renren-common ...................................... FAILURE [ 0.874 s] [INFO] renren-dynamic-datasource .......................... SKIPPED [INFO] renren-admin ....................................... SKIPPED [INFO] renren-api ......................................... SKIPPED [INFO] renren-generator ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.811 s [INFO] Finished at: 2019-03-26T11:38:01+08:00 [INFO] Final Memory: 35M/619M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project renren-common: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
回帖
  • No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 看下这个错误,是没有配置JDK,可自行百度一下
    0 回复