java - Cannot change version of project facet Dynamic Web Module to 3.0? -
i using maven create dynamic webapp in eclipse. added folders src/test/java
, src/test/resources
. changed library in java build path obtain javase-1.7. it's ok here.
when tried change projects facet dynamic web module went wrong. had change java 1.7 in same place. , still told me, cannot change version of project facet dynamic web module 3.0.
i have changed effect changing think.
i updated web.xml
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <display-name>servlet 3.0 web application</display-name> </web-app>
and maven -> update project ...
Comments
Post a Comment