错误信息:
Server initialized with port: 8000
2020-02-10 17:42:57.718 INFO 6352 --- [ main] org.eclipse.jetty.server.Server : jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
#
[thread 18256 also had an error]# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1526256 bytes for Chunk::new
# An error report file with more information is saved as:
# D:\8\*\*\src\*\replay_pid6352.log
#
# Compiler replay data is saved as:
# D:\8\*\*\src\*\replay_pid6352.log
Disconnected from the target VM, address: '127.0.0.1:52569', transport: 'socket'
Process finished with exit code 1
刚开始以为是内存不足引起的,配置了jvm内存设置问题依然没有解决.
最终解决方法是,从新更新maven并从新编译启动项目,问题解决了.