|Cant get Eclipse Indigo to see Glassfish 3.1.2 open source edition [message #876553]
||Thu, 24 May 2012 20:32
| John Carter
Registered: May 2012
I have the latest Glassfish 3.1.2 EE open source edition running on my Windows 7 machine. I have added the hello.war file and it runs just fine. But I cant get Eclipse build id 20120216-1857 to recognize this Glassfish installation.|
I downloaded the server definition and its looking for Glassfish 3.1.2 Open source edition.
When I browse to the C:\...\glassfish3\glassfish directory it says its not valid installation of glassfish
I've tried changing the classpath environment variable to point to the JDK in the glassfish directory but not working.
Is it too new and I should install an older version?
Any help would be appreciated greatly.
|Re: Cant get Eclipse Indigo to see Glassfish 3.1.2 open source edition [message #882468 is a reply to message #882150]
||Wed, 06 June 2012 14:05
| Larry Isaacs
Registered: July 2009
On 6/5/2012 7:54 PM, John Carter wrote:|
> I just created a Dynamic web Project and no web.xml file. I need a tutor
> with this program. Is there anyone in San Diego looking to make a few
> extra bucks or is there a class somewhere teaching eclipse?
On the first page of the Dynamic Web Project wizard, you have a choice
of the "Dynamic web module version". If you choose a version less that
"3.0", then on the 3rd page of the wizard (the Web Module page) the
"Generate web.xml deployment descriptor" option will be checked by
default because it is required. However, with the "Dynamic web module
version" set to "3.0", the web.xml is optional. On the 3rd page, the
"Generate web.xml deployment descriptor" will not be checked by default.
Leaving it unchecked implies you will be declaring the "deployment
descriptor" contents using annotations in your Java classes instead of
using a web.xml.
If you have a "3.0" Dynamic Web Project and did not check the "Generate
web.xml deployment descriptor" option or add appropriate annotations to
your servlet, then I believe you are seeing expected behavior. You can
check the version of your project by opening the Project properties
dialog and selecting the Project Facets page. The version of the
"Dynamic Web Module" facet shows you the version for the project.
Powered by FUDForum
. Page generated in 0.02018 seconds