• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The server does not support version 2.5 of the J2EE Web module specification

 
Nagu Spartan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I import the WAR file to Eclipse and try to run the server.... i got this error:
" The server does not support version 2.5 of the J2EE Web module specification"

Version Details:
Eclipse 3.4.1
Tomcat 5.5

Kindly revert me back

Thanks
Nagarajan T.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean by "revert back", but if the web app is written for Servlet API 2.5 then you need a container that supports it - like Tomcat 6. (Tomcat 5 only supports Servlet API 2.4.)
 
Rudra Narayan Garnaik
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is clear that your server is not having the latest web container. Please go for the web server which is containing servlet version 2.5. If not able to understand please write again.
 
Yosri Zouari
Greenhorn
Posts: 1
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
right click project -> Properties --> project Facets
change Dynamic Web Module from 3 to 2.4
Next time verify that you set Dynamic Web Module version to 2.4 during Web Module creation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic