java程序运行突然中断异常

系统部署完成后开始运行正常,进行了少部分操作后,突然无法访问,查看后台日志报如下错误

#

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000039a6277, pid=13340, tid=17328
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# J 10540 C2 org.springframework.boot.devtools.filewatch.FolderSnapshot.collectFiles(Ljava/io/File;Ljava/util/Set;)V (99 bytes) @ 0x00000000039a6277 [0x00000000039a4b60+0x1717]
#
# 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:\ideaIU\svnDB\SVN\datasync-client\hs_err_pid13340.log
#
# If you would like to submit a bug report, please visit:

#   http://bugreport.java.com/bugreport/crash.jsp


经过查看分析是JAVA编译器的问题,用的是idea自带的JRE编译的,与系统中的JDK版本有编译后的冲突,把项目的运行编译环境全部指向系统的JDK,再重编译运行就好了

你可能感兴趣的:(java)