1.环境

win10
jdk13
Eclipse IDE for Enterprise Java Developers Version: 2019-12 (4.14.0)
apache-maven-3.6.3

2.操作:创建maven web项目

关于web.xml is missing and is set to true报错解决方法
关于web.xml is missing and is set to true报错解决方法
关于web.xml is missing and is set to true报错解决方法
关于web.xml is missing and is set to true报错解决方法

3.问题:web.xml is missing and is set to true

4.原因缺少web.xml 文件,eclipse中web必须在/src/main/webapp要生成web.xml 文件

5.解决办法:选择项目右击—>Java EE Tools—>Generate Deployment Descriptor Stub

关于web.xml is missing and is set to true报错解决方法
关于web.xml is missing and is set to true报错解决方法

相关文章:

  • 2021-04-18
  • 2022-12-23
  • 2021-10-10
猜你喜欢
  • 2021-05-22
  • 2021-09-15
  • 2022-01-21
  • 2021-05-26
  • 2021-11-25
相关资源
相似解决方案