[ https://issues.apache.org/jira/browse/ARCHETYPE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16429807#comment-16429807 ]
Karl Heinz Marbaise commented on ARCHETYPE-546: ----------------------------------------------- Unfortunately nothing written in english which I'm able to read... > 使用maven构建web项目时,maven自动生成的web.xml格式问题 > ------------------------------------- > > Key: ARCHETYPE-546 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-546 > Project: Maven Archetype > Issue Type: Bug > Components: Archetypes > Affects Versions: 3.0.1 > Reporter: jinyong zhang > Priority: Major > Attachments: image-2018-04-09-00-20-50-573.png, > image-2018-04-09-00-21-39-534.png > > > 使用eclipse+maven+spring+springMVC, > 在构建新项目时,maven生成的web.xml无法被springMVC识别,导致项目运行后,springmvc会报找不到handler > ,找不到mapping, > 需要自己重新创建web.xml > !image-2018-04-09-00-20-50-573.png! > 上边这个是maven自动生成的web.xml的头, > !image-2018-04-09-00-21-39-534.png! > 这个是sprimgMVC能识别的web.xml的文件头 -- This message was sent by Atlassian JIRA (v7.6.3#76005)