web.xml is missing and is set to true

后端 未结 20 1355
后悔当初
后悔当初 2020-11-30 17:35

Consider:

When I create a simple Maven project in Eclipse I am getting this error:

web.xml is missing and

20条回答
  •  清歌不尽
    2020-11-30 17:42

    The step of : Select your project and select the "Deployment Descriptor" option and then choose "Generate Deployment Descriptor stub" works fine. The issue is that it is not always the case that we need web.xml, so it is best to append false to pom.xml

提交回复
热议问题