Open web.xml from project structure http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> Servlet 3.0 Web Application

and update web.xml file for example change version = "2.5"

Also change the org.eclipse.wst.common.project.facet.core.xml file from your project .settings file Follow the steps

   1. Window > Show View > Other > General > Navigator

  1. There is a .settings folder under your project directory

  2. Change the dynamic web module version in this line to 2.5 4.Change the Java version in this line to 1.5 or higher

Now refresh your project and get set to run on your server.

Do follow the blog for the solution http://scrapillars.blogspot.in/2014/02/how-to-change-project-facet-in-eclipse.html

The solution is produced with image illustrations

相关文章:

猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2022-01-05
  • 2021-07-15
  • 2021-04-02
  • 2021-08-25
相关资源
相似解决方案