Michael Osipov commented on ARCHETYPE-546:

There is still no bug here. That archetype is horribly old, so is the web.xml. 
Spring 5.0 requires Servlet 3.1 at least. This won't do.

> while using maven to create a new web project,the web.xml file maven 
> generated can not be recognised by spring mvc
> ------------------------------------------------------------------------------------------------------------------
>                 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
> when using eclipse & maven & spring & springMVC as development inviroment,we 
> create a new web project,maven generates web.xml  cannot  be parsed by 
> springMVC,while we debug the project,springmvc logs the messages,no handler 
> was found for [url],no mapping was found for controller, and every time we 
> create a new web project with maven, the problem happpens again, and ervey 
> time we should copy a new web.xml file from somewhere else;
> !image-2018-04-09-00-20-50-573.png! the first picture is the wrong web.xml 
> head generated by maven and the second picture is right one we copy from 
> somewhere else
> !image-2018-04-09-00-21-39-534.png!

This message was sent by Atlassian JIRA

Reply via email to