当前位置:网站首页>Cannot change version of project facet Dynamic Web Module to 2.3.

Cannot change version of project facet Dynamic Web Module to 2.3.

2022-07-06 12:03:00 Caojia xiaoyuanbao

Cannot change version of project facet Dynamic Web Module to 2.3.

Catalog

Problem source description

use eclipse build maven project, The default is 2.3 Of :
Open the project folder in the workspace .setting in org.eclipse.wst.common.project.facet.core.xml file :

 Picture description here

stay eclipse Right click on the item ,properties->Project Factets:

 Picture description here

Change it to 3.0 Of , So I will org.eclipse.wst.common.project.facet.core.xml in 2.3 Changed to 3.0, as follows :

 Picture description here

After the change, there was a problem :

 Picture description here

Problem solving

It turned out , take web.xml We need to change .

Before the reform :

 Picture description here

After the reform :

 Picture description here

here maven->update project The mistake is gone .


原网站

版权声明
本文为[Caojia xiaoyuanbao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060913307647.html