The server does not support version 3.0 of the J2EE Web module specification.
I am getting this error when I am publishing my module in jboss-5.1.0.GA-jdk6.
I have read all the solutions on google as well on stackoverflow, but didn’t get the proper solution.
The solution is to use the version of the servlet spec that your JBoss server supports, or to use a version of the JBoss server that supports version 3.0 of the servlet spec. You’re trying to use a brand new version of the spec with an old server that was released when this version of the spec didn’t even exist.
See https://community.jboss.org/wiki/VersionOfTomcatInJBossAS for a matrix of JBoss versions and servlet spec versions.