Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat newbie

 
Rex Rock
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your web.xml files and make sure there syntax are valid.
Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic