web.xml is missing and is set to true

后端 未结 20 1368
后悔当初
后悔当初 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:45

    I had the same problem, even though I had 'src/main/webapp/WEB-INF/' folder with correct web.xml.

    The problem disappeared after I recreated (maven->eclipse) configuration with Maven build.. I executed mvn eclipse:clean eclipse:eclipse

    And then I used Maven -> Update Project to add (eclipse->maven) plugin specific options.

提交回复
热议问题