0

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.

Community
  • 1
  • 1
TGM
  • 1,659
  • 10
  • 30
  • 45

1 Answers1

2

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.
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
  • Thanks! It works great! One problem though.. I can't see any error info. It tells me that I need GlassFish Server Open Source Edition 3.1.1 logs. What is the correct way to add this over my current instals so I don't mess up any thing. – TGM Nov 08 '11 at 17:38
  • Did you choose the exact right adapter - it appears to be picky. For 3.1.1 choose the 3.1.1 adapter, for 3.0.1 choose the one with the long name. – Thorbjørn Ravn Andersen Nov 08 '11 at 18:19
  • There are two GlassFish products but I'm allowed to install just the GlassFish Java EE Application Server Plugin for Eclipse. I'm using GlassFish 3.1.1 – TGM Nov 10 '11 at 12:06