[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ zhongjian-bns-webapp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 156 source files to D:\My_Pro\zhongjian-bns\zhongjian-bns-webapp\src\main\webapp\WEB-INF\classes
致命错误: 在类路径或引导类路径中找不到程序包 java.lang
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.138 s
[INFO] Finished at: 2015-10-10T12:56:14+08:00
[INFO] Final Memory: 24M/127M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project zhongjian-bns-webapp: Compilation failure
[ERROR] An unknown compilation problem occurred
[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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
<spanstyle="font-family:'MicrosoftYaHei',Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">Re-runMavenusingthe-Xswitchtoenablefulldebuglogging.从新运行?? 我的建议是先从工作空间移除项目,然后重新导入一次。回复<aclass='referer'target='_blank'>@小七酱:对啊,我这么弄的!就是不知道这个错主要是什么原因导致的回复<aclass='referer'target='_blank'>@Leelin:先执行clean,然后删了重新导入试试。还是不行