users@glassfish.java.net

Re: Problem migrating Java-EE project to Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Oct 2010 07:29:16 PDT

Hi ,

I fixed the problem by adding the javaee.jar from ${glasfish_home}/lib into the build path of y eclipse project and this solved the ClassNotFoundException.

Now i can access my deployed project from the url:
http://localhost:8080/CellIDService/

but this instead gives me a directory listing. If i try to access my servlets like e.g.
http://localhost:8080/CellIDService/ConfigInit/

then i still get a HTTP-404- resource not found error.
[Message sent by forum member 'tali1981']

http://forums.java.net/jive/thread.jspa?messageID=485051