查看: 4215|回复: 6

编译错误

升级   62%

5

主题

6

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2020-7-10 09:43:38 | 显示全部楼层 |阅读模式
war包无法编译
回复

使用道具 举报

升级   62%

5

主题

6

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2020-7-10 10:08:07 | 显示全部楼层
io.github.classgraph.ClassGraphException: Uncaught exception during scan
    at io.github.classgraph.ClassGraphException.newClassGraphException (ClassGraphException.java:89)
    at io.github.classgraph.ClassGraph.scan (ClassGraph.java:1183)
    at io.github.classgraph.ClassGraph.scan (ClassGraph.java:1201)
    at io.github.classgraph.ClassGraph.scan (ClassGraph.java:1214)
    at com.x.base.core.project.build.CreateWebXml.thisApplicationClassName (CreateWebXml.java:67)
    at com.x.base.core.project.build.CreateWebXml.main (CreateWebXml.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
    at java.lang.Thread.run (Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.lang.String.replace (String.java:2078)
    at nonapi.io.github.classgraph.utils.JarUtils.classfilePathToClassName (JarUtils.java:275)
    at io.github.classgraph.Scanner.performScan (Scanner.java:813)
    at io.github.classgraph.Scanner.openClasspathElementsThenScan (Scanner.java:972)
    at io.github.classgraph.Scanner.call (Scanner.java:1007)
    at io.github.classgraph.Scanner.call (Scanner.java:74)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
    at java.lang.Thread.run (Thread.java:745)
回复

使用道具 举报

升级   62%

5

主题

6

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2020-7-10 09:45:36 | 显示全部楼层
[INFO] x_query_core_express ............................... SUCCESS [  9.696 s]
[INFO] x_processplatform_core_express ..................... SUCCESS [  4.262 s]
[INFO] x_bbs_assemble_control ............................. FAILURE [ 26.936 s]
[INFO] x_calendar_assemble_control ........................ SKIPPED
[INFO] x_cms_core_express ................................. SKIPPED
[INFO] x_cms_assemble_control ............................. SKIPPED
[INFO] x_attendance_assemble_control ...................... SKIPPED
[INFO] x_component_assemble_control ....................... SKIPPED
[INFO] x_file_assemble_control ............................ SKIPPED
[INFO] x_general_assemble_control ......................... SKIPPED
[INFO] x_hotpic_assemble_control .......................... SKIPPED
[INFO] x_jpush_assemble_control ........................... SKIPPED
[INFO] x_meeting_assemble_control ......................... SKIPPED
[INFO] x_message_assemble_communicate ..................... SKIPPED
[INFO] x_mind_assemble_control ............................ SKIPPED
[INFO] x_okr_assemble_control ............................. SKIPPED
[INFO] x_organization_assemble_authentication ............. SKIPPED
[INFO] x_organization_assemble_control .................... SKIPPED
[INFO] x_organization_assemble_express .................... SKIPPED
[INFO] x_organization_assemble_personal ................... SKIPPED
[INFO] x_portal_assemble_designer ......................... SKIPPED
[INFO] x_portal_assemble_surface .......................... SKIPPED
[INFO] x_processplatform_assemble_bam ..................... SKIPPED
[INFO] x_processplatform_assemble_designer ................ SKIPPED
[INFO] x_processplatform_assemble_surface ................. SKIPPED
[INFO] x_processplatform_service_processing ............... SKIPPED
[INFO] x_query_assemble_designer .......................... SKIPPED
[INFO] x_query_assemble_surface ........................... SKIPPED
[INFO] x_query_service_processing ......................... SKIPPED
[INFO] x_program_center ................................... SKIPPED
[INFO] x_console 5 ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:09 min
[INFO] Finished at: 2020-07-10T09:39:48+08:00
[INFO] ------------------------------------------------------------------------
[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
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! o2oa@4.0.3763 build_server_script: `cd o2server && mvn clean && mvn install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the o2oa@4.0.3763 build_server_script script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\wanshan011\AppData\Roaming\npm-cache\_logs\2020-07-10T01_39_49_132Z-debug.log
(node:9096) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[09:39:49] 'build_server' errored after 7.3 min
[09:39:49] Error in plugin "gulp-shell"
Message:
    Command `npm run build_server_script` failed with exit code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! o2oa@4.0.3763 build_server: `gulp build_server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the o2oa@4.0.3763 build_server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\wanshan011\AppData\Roaming\npm-cache\_logs\2020-07-10T01_39_49_212Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! o2oa@4.0.3763 build_parallel: `npm run build_server && npm run build_web`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the o2oa@4.0.3763 build_parallel script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\wanshan011\AppData\Roaming\npm-cache\_logs\2020-07-10T01_39_49_268Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! o2oa@4.0.3763 build:win: `npm run clear && npm run build_parallel && npm run deploy:win `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the o2oa@4.0.3763 build:win script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
回复

使用道具 举报

升级   62%

5

主题

6

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2020-7-10 17:03:17 | 显示全部楼层
已经设置maven_opts   还是出现OutOfMemoryError错误
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37517
发表于 2020-7-13 13:35:05 | 显示全部楼层
这个您检查一下
aused by: java.lang.OutOfMemoryError: Java heap space  导致的问题,
比如:
https://blog.csdn.net/stan451219097/article/details/84439115
这都是环境配置的原因导致的。
您需要自行检查一下!
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37517
发表于 2020-7-10 14:50:05 | 显示全部楼层
您好:请问您的操作系统是什么。建议修改一下jvm的内存!
你可查询一下Caused by: java.lang.OutOfMemoryError: Java heap space   的处理的解决方法!
回复

使用道具 举报

升级   62%

5

主题

6

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2020-7-10 10:04:17 | 显示全部楼层
.TableBuilder - describe class:com.x.processplatform.core.entity.content.Read.
java.lang.NullPointerException
        at com.x.base.core.project.annotation.TableBuilder.jaxrsClass(TableBuilder.java:156)
        at com.x.base.core.project.annotation.TableBuilder.scan(TableBuilder.java:92)
        at com.x.base.core.project.annotation.TableBuilder.main(TableBuilder.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
        at java.lang.Thread.run(Thread.java:745)
[INFO]
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread