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

前端 未结 4 1706
深忆病人
深忆病人 2020-12-31 04:59

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

相关标签:
4条回答
  • 2020-12-31 05:46

    The ...serverdef and plugin.xml configuration files for the server that you've set up in Eclipse define what versions of the specifications that the server supports.

    0 讨论(0)
  • 2020-12-31 05:47

    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
    0 讨论(0)
  • 2020-12-31 05:50

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

    0 讨论(0)
  • 2020-12-31 05:59

    From you web project try to downgrade the Dynamic Web Module: project -> Properties -> project Facets

    If this has no effect, try to downgrade the EAR from your EAR project: project -> Properties -> project Facets

    If you can't change the versions from eclipse, edit manually the file org.eclipse.wst.common.project.facet.core.xml

    0 讨论(0)
提交回复
热议问题