Java应用程序启动报错
日志如下
# A fatal error has been detected by the Java Runtime Envi ronment :
#
#
EXCEPTION_ PRIV_ INSTRUCTION (0xc0000096) at pc=0x0000000002c659ad, pid=3000, tid=0x0000000000006094
# JRE version: Java(TM) SE Runtime Environment (8.0_ 144-b01) (build 1.8.0_ 144-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25. 144-b01 mixed mode windows - amd64 compressed oops )
# Problematic frame:
# j javax. faces. context. FacesContext. <clinit>( )V+8
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# An error report file with more information is saved as:
# D: idea -worklpms-bootlhs_ err_pid3000. log
#
# If you would like to submit a bug report, please visit:
#
http:/ /bugreport. java . com/ bugreport/crash. jsp
#
具体错误日志还需要查看打印的日志
解决方案如下:
网络上查找的是:
这里可能的原因有:
1. a bug in the JVM itself; search Google and/or the Java web site for
a mention of ntdll.dll+0x2430;
一个JVM自身的bug,访问谷歌或者Java网站寻求(根据 ntdll.dll+0x2430这个信息)
2. a bug in some non-Java code that was being run at the time: e.g.
Java might have been calling into a printer driver, graphics driver
etc.
一个正在运行的非Java代码的某个bug,可能导致调用了打印驱动器,比如这个图形驱动器等;
这里,我的建议是:
1、可能是端口号冲突,关闭不必要的其它Java程序;
2、同一个Java程序,可能内部会设置某个功能为自动启动(会挤掉你现在用的这个Java程序),如果有暂停按钮,先暂停同一个Java程序中的那个功能(不影响的情况下),先跑自己这部分的功能,等自己这部分功能跑完了,再启动其它的功能;
但是这里我觉得答案是:
当spring应用设置定时器或者自动启动的时候,当应用启动时候出现了定时器启动,定时器启动的时候遇到应用程序进行失败,导致虚拟机崩溃,出现此问题