Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with webapps

 
Gopinath Reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am using web.xml in my project while starting tomcat server it is giving

Server is listing Error like this

org.xml.sax.SAXParseException : The content of element Type "web-app" must match "<icon?,displsy-name?,description?,distributable?, context-param*,filter *,filter-mapping*,listener*,servlet *,servlet-mapping*,sesion-config?,welcome-file-list?,error-page*>"

the above said is the error given by server. I think this is warning only because even though server is giving this error my application is running, Pls give me suggestion.

regards
Gopinath
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gopi,

I am not sure but I have a feeling that the web.xml construct is somewhere wrong. Check the web.xml file properly. Basically, such errors come when the end-tag is missing or is different (incorrect spelling) from the start-tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic