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

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.

No comments:

Post a Comment