从 Eclipse 启动 Glassfish Server 时出错
我使用的是 Windows Vista Ultimate 32 位,并且已在 Eclipse 之外安装了 GlassFish 3.1.1。
当我启动 Glassfish Server 时,窗口(出现问题)显示以下错误消息:
An internal error occurred during: "Publishing to GlassFish Server Open Source Edition 3 (Java EE 6) at localhost...".
java.lang.NullPointerException
出了什么问题?
谢谢!
I'm using Windows Vista Ultimate 32 bit, and I've installed GlassFish 3.1.1 outside of Eclipse.
When I start Glassfish Server, a window (Problem Occurred) shows the following error message:
An internal error occurred during: "Publishing to GlassFish Server Open Source Edition 3 (Java EE 6) at localhost...".
java.lang.NullPointerException
What's wrong?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于路人:
检查
Preferences >服务器>运行时环境>你的玻璃鱼>编辑
。验证是否安装了正确的 JDK。不过,您可能会收到 NPE,请参阅此处For passer by :
Check
Preferences > Server > Runtime Environments > YourGlassfish > Edit
. Verify the correct JDK is installed. You may get a NPE though, see here