Hi,

I just added a new Tapestry page to my project (in Eclipse 3.1).  The page 
consists of an HTML file, a PAGE file, and a JAVA file.  After adding the 
page and modifying some of the contents in all 3 files, I noticed a red X 
from Spindle on the web.xml file.

The Eclipse "Problems" panel shows 2 red Xes, with the following text:

No Tapestry Build, found no valid servlets in web.xml
ignoring servlet, Unable to resolve path: no location found

The second error message points to line 9 of the web.xml file.  Here is 
the contents of that file:

<?xml version="1.0"?>
<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
  "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
    <display-name>MessagingWebAdmin</display-name>
    <servlet>
        <servlet-name>MessagingWebAdmin</servlet-name>
 <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>MessagingWebAdmin</servlet-name>
        <url-pattern>/app</url-pattern>
    </servlet-mapping>
</web-app>

Line 9 is the one with <servlet-class> on it.  Since this file has not 
been modified in weeks, it doesn't make much sense that the 
ApplicationServlet suddenly developed a new path.

I have tried cleaning and rebuilding my project, and closing and 
re-starting Eclipse.  I can't figure out what's going on and I can't 
continue developing until this is resolved, since Eclipse refuses to build 
my project and so when I launch Tomcat, this app is not loaded any more.

Any help would be greatly appreciated!

Regards,
David Lee Sanford
Java Developer

Reply via email to