问题描述
我刚刚下载了Glassfish版本3.1.2,这还不是正式版本。我需要这个版本,因为我的web应用程序使用websockets。
我现在的问题是用于Eclipse的Glassfish插件,他没有认识到新的Glassfish版本。
在Eclipse中的Glassfish版本3.1.1一切正常。
我使用的Oracle Glassfish Server Tools(Eclipse插件)版本2.0.0.20111104904(可以下载的最新版本)。
如果我尝试在Glassfish 3.1.2的Eclipse中添加一个新的服务器运行时环境,我得到错误:
在指定的目录中没有有效的GlassFish安装...
我需要一切都可以在Eclipse中调试我的Web应用程序。
任何人都知道插件正在检查什么?
有什么变化来欺骗插件,所以也可以使用Glashfish 3.1.2运行?
使用插件从这里(对于Indigo):
Helios插件不支持3.1.2。
如果你必须忍受甲骨文祝福或者继续使用Helios,然后你可以尝试以下技巧:
I just downloaded the Glassfish version 3.1.2, this is not yet an official release.I need this version because my web application is using websockets.The problem I have now is with the Glassfish plugin for eclipse, he is not recognizing the new Glassfish Version.With the Glassfish Version 3.1.1 in Eclipse everything works fine.I am using Oracle Glassfish Server Tools (Eclipse plugin ) version 2.0.0.20111104904 from Oracle(last version I could download).If I try to add a new Server Runtime Environment in Eclipse for the Glassfish 3.1.2 I get the error:There is no valid GlassFish installation in the specified directory...I need everything to be able to debug my web application in Eclipse.
Anyone know what the plugin is checking ?There is any change to trick the plugin so will run with Glashfish 3.1.2 too ?
Use the plugin from here (for Indigo): http://dlc.sun.com.edgesuite.net/glassfish/eclipse/indigo/
The plugin for Helios does not support 3.1.2.
If you have to live with the bits the are blessed by Oracle or keep using Helios, then you can try the following trick:
这篇关于Glassfish 3.1.2和Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!