Glassfish服务器适配器未在Eclipse中显示 [英] Glassfish server adapter not shown in list in Eclipse
问题描述
除了Apache,Basic,JBoss和ObjectWeb,我没有看到服务器向导中的GlassFish条目
(File-> New-> Other-> Server)
。 我尝试从Eclipse Marketplace和服务器向导的下载其他服务器适配器安装Glassfish工具。
Glassfish Tools插件已安装
服务器类型列表中未显示
jre很好($ JAVA_HOME设置为默认值)
类似的问题没有帮助:
Eclipse中的Java类适配器Juno缺少
我试图从Eclipse Enterprise Pack for Eclipse Kepler安装几个组件(无论哪一个,因为我们之后删除了所有组件!) b 安装后,带有Oracle Enterprise Pack for Eclipse的对话框需要Java 7或更高版本。继续配置兼容的Java虚拟机,我指定了jdk的路径(与上面的图片相同,与我的$ JAVA_HOME相同)并重新启动了Eclipse。这一切都有效。 UPDATED。如我发现,密钥在 (这取决于你的jdk路径)Glassfish显示在服务器适配器列表中,如果没有 - Glassfish没有显示。 I successfully installed Glassfish Tools for Kepler.
However besides Apache, Basic, JBoss and ObjectWeb I do not see an entry for GlassFish in server wizard I tried to install Glassfish Tools both from Eclipse Marketplace and from server wizard's "Download additional server adapters". Glassfish Tools plugin is installed
Not shown in server type list
jre is fine ($JAVA_HOME set to the default value)
Similar questions didn't help:
Glassfish adapter in Eclipse Juno missing I tried to install several components from Oracle Enterprise Pack for Eclipse Kepler (no matter which, because I deleted all of them afterwards!) http://marketplace.eclipse.org/content/oracle-enterprise-pack-eclipse-kepler#.U8Ul03WSy00 After installing, the dialog with warning "Oracle Enterprise Pack for Eclipse requires Java 7 or higher. Continue to configure a compatible Java VM." appeared. I specified path to jdk (same as in picture above, same as my $JAVA_HOME) and restarted Eclipse. After this everything works. UPDATED. As I found out, the key is in (well, depending on your jdk path) Glassfish is shown in server adapter list. If not - Glassfish is not shown. 这篇关于Glassfish服务器适配器未在Eclipse中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ b
eclipse.ini
文件中,如果此文件启动来自
-vm
/usr/local/jdk1.7.0_40/bin
(File->New->Other->Server)
.eclipse.ini
file. If this file starts from -vm
/usr/local/jdk1.7.0_40/bin