编译错误
war包无法编译 io.github.classgraph.ClassGraphException: Uncaught exception during scanat 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) x_query_core_express ............................... SUCCESS
x_processplatform_core_express ..................... SUCCESS
x_bbs_assemble_control ............................. FAILURE [ 26.936 s]
x_calendar_assemble_control ........................ SKIPPED
x_cms_core_express ................................. SKIPPED
x_cms_assemble_control ............................. SKIPPED
x_attendance_assemble_control ...................... SKIPPED
x_component_assemble_control ....................... SKIPPED
x_file_assemble_control ............................ SKIPPED
x_general_assemble_control ......................... SKIPPED
x_hotpic_assemble_control .......................... SKIPPED
x_jpush_assemble_control ........................... SKIPPED
x_meeting_assemble_control ......................... SKIPPED
x_message_assemble_communicate ..................... SKIPPED
x_mind_assemble_control ............................ SKIPPED
x_okr_assemble_control ............................. SKIPPED
x_organization_assemble_authentication ............. SKIPPED
x_organization_assemble_control .................... SKIPPED
x_organization_assemble_express .................... SKIPPED
x_organization_assemble_personal ................... SKIPPED
x_portal_assemble_designer ......................... SKIPPED
x_portal_assemble_surface .......................... SKIPPED
x_processplatform_assemble_bam ..................... SKIPPED
x_processplatform_assemble_designer ................ SKIPPED
x_processplatform_assemble_surface ................. SKIPPED
x_processplatform_service_processing ............... SKIPPED
x_query_assemble_designer .......................... SKIPPED
x_query_assemble_surface ........................... SKIPPED
x_query_service_processing ......................... SKIPPED
x_program_center ................................... SKIPPED
x_console 5 ........................................ SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 07:09 min
Finished at: 2020-07-10T09:39:48+08:00
------------------------------------------------------------------------
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 ->
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
After correcting the problems, you can resume the build with the command
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) 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)
'build_server' errored after 7.3 min
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: 已经设置maven_opts 还是出现OutOfMemoryError错误 这个您检查一下
aused by: java.lang.OutOfMemoryError: Java heap space导致的问题,
比如:
https://blog.csdn.net/stan451219097/article/details/84439115
这都是环境配置的原因导致的。
您需要自行检查一下! 您好:请问您的操作系统是什么。建议修改一下jvm的内存!
你可查询一下Caused by: java.lang.OutOfMemoryError: Java heap space 的处理的解决方法! .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)
页:
[1]