我正在使用带有 GlassFish Server 4 的 NetBeans 7.3.1
当我尝试运行(任何)项目时,出现以下错误。
启动 GlassFish Server GlassFish Server Server 启动失败。无法创建启动进程。C:\Users\ENES\Documents\NetBeansProjects\Tezmaksan\nbproject\build-impl.xml:1041:部署错误:GlassFish Server Server 启动失败。无法创建启动进程。有关详细信息,请参阅服务器日志。构建失败(总时间:2 秒)
我不知道日志文件在哪里,我找不到它。
当我进入 GlassFish 的 bin 目录并运行 startserv.bat 时,它看起来像在工作,因为 localhost:8080/ 和 localhost:4848/ 正在工作。但我的应用程序仍然无法启动。当我去 localhost:8080/Tezmaksan/ 那里有这个错误
HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.
GlassFish Server Open Source Edition 4.0
我安装了 JDK (1.7u25) 的最后一个版本,当我从 NetBeans 检查时,它被选中用于 GlassFish。我正在使用 x64 Windows 7。2-3 个月前我没有遇到这个问题,它只是突然出现了。我尝试卸载并重新安装 NetBeans、GlassFish 和 JDK,但问题仍然存在。
感谢您的帮助