File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat newbie" Watch "Tomcat newbie" New topic
Author

Tomcat newbie

Rex Rock
Ranch Hand

Joined: Jun 25, 2001
Posts: 82
I'm getting this error when i start tomcat..am new to tomcat.
can someone help me here.

<code>
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
PARSE error at line 52 column 16
org.xml.sax.SAXParseException: The content of element type "servlet" must match
"(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-pa
ram*,load-on-startup?,security-role-ref*)".
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
</code>
Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
Check your web.xml files and make sure there syntax are valid.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat newbie
 
Similar Threads
Tomcat -web.xml parseing error
Tomcat -web.xml parseing error
Tomcat newbie plz help
Starting Tomcat Error
Entries in Web.xml file