Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml doesn't parse correctly ?

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good day, when i start my tomcat, the console show the below error


here is my web.xml :


anyone know what is the problem caused ? thank you for guidance
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As stated in another thread, all your <taglib> definitions must go under <jsp-config>.
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, merrill, i still get the same error even i have change the taglib definition under <jsp-config> , here is my latest web.xml

 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp-config tag has two elements: <taglib> and <jsp-property-group>

taglib comes first then jsp-property-group


Naseem
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, Naseem Khan , i have try on the suggestion for changing tag attribute location , but it prompt me the same error as well

current state of web.xml
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of Tomcat ypu are using?

I tried your last posted web.xml and it worked on my Tomcat 5.5.8 servlet/jsp container.

Naseem
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using 5.59 , would it possible cause by conf\web.xml ? i need to check it out again ...
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you change something in tomcat's configuration it's usually a good idea to delete the work directory. tomcat sometimes caches config data there, which can be really really annoying if you are playing with different settings...

;-)

jan
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have try delete the work webapp folder , it give same result
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic