maven cannot be set to Dynamic Web Module3.0 solution

Find the org.eclipse.wst.common.project.facet.core.xml file in the \projectname\.setting\ folder.

 

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <fixed facet="wst.jsdt.web"/>
  <installed facet="jst.web" version="2.3"/>
  <installed facet="wst.jsdt.web" version="1.0"/>
  <installed facet="java" version="1.7"/>
</faceted-project>

 

Change the version of jst.web to 3.0

 

Then right-click the project in eclipse --maven--updateProject.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326714853&siteId=291194637