2016-12-14 100 views
-1

当我试图在Netbeans的8.02运行我的Java Web应用程序项目,我不断收到此错误:无法启动GlassFish服务器

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff49cf42ec, pid=2768, tid=0x0000000000002860
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [chtbrkg.dll+0x242ec]
#
# 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:
# C:\Users\ZOOM IT\Downloads\Compressed\java_ee_sdk-7u2\glassfish4
\glassfish\domains\domain1\config\hs_err_pid2768.log
#
# If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0

this dialog box晚了一点。 我正在使用windows 10. Java版本“1.8.0_111” Java™SE运行时环境(build 1.8.0_111-b14) Java HotSpot™64位服务器VM(版本25.111-b14,混合模式)

Cannot start GlassFish 4.1 from within Netbeans 8.0.1 Service area这个问题与被占用的端口有关,这当然不是我的情况。

+0

您是否设置了路径环境var?还打开日志文件,看看它说什么。 –

+0

你能指导我如何设置路径环境变量? –

+1

看到这个答案http://stackoverflow.com/questions/26004517/cannot-start-glassfish-4-1-from-within-netbeans-8-0-1-service-area – MASh

回答