|
|
|
Re: Cant get Eclipse Indigo to see Glassfish 3.1.2 open source edition [message #882104 is a reply to message #882091] |
Tue, 05 June 2012 21:24 |
|
On 6/5/2012 2:40 PM, John Carter wrote:
> Thanks I did check that out and may try to install Glassfish 3.1.1 at
> some point in the future. Since then I have installed Tomcat 7.0 with
> better success. Eclipse does recognize the Tomcat server but cant start
> or stop it correctly.
> I have exported a simple Java EE project to a war file and had Tomcat
> deploy the war file. But the app doesn't work. It cant find the main
> servlet in the war file. I suspect the missing web inf xml file is the
> problem and hence the app doesn't work. How do I get eclipse to generate
> the web inf xml file for my project and included in the war file?
>
> Thanks
When you create a new Dynamic Web Project, WebContent/WEB-INF/web.xml
will be created with a few likely defaults in it. Thereafter, it's up to
you to maintain it. When you generate the WAR file, it will be in there.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01872 seconds