• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with web - INF in web development project  RSS feed

 
jazy smith
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi. I have a project in eclipse 3.4. everything is good except only one error in web -INF and that is as listed below:

(The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-
param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-
page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-
ref*)


can anyone tell me what does this mean and how to overcome from it ?
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi jazy smith..

I think there's something problem with your web.xml..

could you post your web.xml file?
 
jazy smith
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ LC : thanks for your reply. please find the attached web.xml file that i sent you as a PM. Hoping to hear from you soon.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!