Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The server does not support version 3.0 of the J2EE web module specification

Tags:

eclipse

The server does not support version 3.0 of the J2EE web module specification.

I am getting this error when I execute an application in Eclipse IDE. What is the reason for this?

like image 607
Hari Avatar asked Aug 03 '11 06:08

Hari


2 Answers

right click on your project -> Properties --> project Facets then you must change Dynamic Web Module from 3 to 2.5

like image 99
Karim Oukara Avatar answered Sep 20 '22 13:09

Karim Oukara


The error message is quite understandable - you are attempting to execute an application that requires the server to support Servlet Spec 3.0 when it doesn't. You must therefore run the application on a server that complies with that version of the Servlet Specification.

As far as I know you have the following options at your disposal, at the time of writing this:

  • Apache Tomcat 7.0
  • Glassfish 3.1
  • IBM WebSphere 8
  • JBoss 6 and 7
  • Resin 4
like image 29
Vineet Reynolds Avatar answered Sep 18 '22 13:09

Vineet Reynolds