Indigo Java EE with GlassFish bundle

青春壹個敷衍的年華 提交于 2019-12-25 02:14:43

问题


I use Eclipse Indigo Java EE and I want to use the GlassFish 3 server. I am used to work with Tomcat which can easily be accessed from Eclipse.

I followed How to install the GlassFish 3 server adapter with Eclipse Helios 3.6 answer but I got the following error:

Cannot complete the install because one or more required items could not be found. Software being installed: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) Missing requirement: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) requires 'org.eclipse.platform.feature.group [3.5.0,3.6.0)' but it could not be found

The solution for this problem is a dated link so I can't find any way to solve this issue. Please provide me a up-to-date solution for this.


回答1:


The information in the linked question is outdated.

You should

  • Download and unzip glassfish separately.
  • In Eclipse, choose Help -> Eclipse Marketplace..., and search for Glassfish. This will locate amongst others "GlassFish Java EE Application Server Plugin for Eclipse" which has an Install button. Use the button to install.
  • Wait.
  • Restart Eclipse if prompted.
  • In the Servers view, right-click and choose New -> Server... Now you can choose to install a Glassfish server. Be certain to use exactly the adapter for the Glassfish server you have. Point to the glassfish folder inside the unpacked server.


来源:https://stackoverflow.com/questions/8046803/indigo-java-ee-with-glassfish-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!