Saturday, October 19, 2013

How to solve this The server does not support version 3.0 of the J2EE Web module specification.?

This happens becasue different tomcat versions support, different servlet specsbelow links give which supports which version.Tomcat5.5.x supports servlet/jsp spec 2.4/2.0 (Does not support annotations).

You need to upgrade to tomcat7.x to be able to run servlet/jsp spec 3.0/2.2

http://tomcat.apache.org/whichversion.html

Ways to solve the problem. Change version to 2.5 to run in tomcat 5.5 or Run your application with version 3.0 in tomcat 7.



Normally you'd simply go to properties->Project Facets and then change the Dynamic Web Module to a lower version. However for me that is not working. It tells me "Cannot change the version of project facet Dynamic Web Module to 2.5"

 Refer this link.

http://keensknowledgeaccumulation.blogspot.com/2013/02/server-does-not-support-version-30-of.html

No comments:

Post a Comment