开发者社区 问答 正文

o2server idea打包部署报错?报错

@O2OA企业信息化平台 你好,想跟你请教个问题:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (createWebXml) on project x_bbs_assemble_control: An exception occured while executing the Java class. Uncaught exception during scan: Java heap space -> [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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :x_bbs_assemble_control
 

展开
收起
爱吃鱼的程序员 2020-06-05 14:31:58 789 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>感觉是您的环境maven的问题, <span>Uncaught exception during scan: Java heap space</span> .</p> 
    

    您可以参考一下源码编译的视频教程: https://www.bilibili.com/video/av88992965/

                            回复 <a class="referer" target="_blank">@O2OA企业信息化平台</a>  : 详细错误放在评论里了,重新更换电脑还是这个问题。
                        
    
                            回复 <a class="referer" target="_blank">@godlet</a>  : 请提供再多一点详细的报错信息,只提供这么几行,实在不太好判断
                        
    
                            根据视频操作之后还是这个错
                        
    
                        <p><img height="654" src="https://oscimg.oschina.net/oscnet/up-7c2fb47aea6f6ff73219605a80cafd07d19.png" width="1071">详细错误,换了电脑重新搭建之后还是这个问题</p>
                    
    
                        <p>请问解决问题了吗??我也是这个问题</p>
    
    2020-06-05 14:32:17
    赞同 展开评论