You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jinyong zhang (JIRA)" <ji...@apache.org> on 2018/04/08 23:04:00 UTC
[jira] [Commented] (ARCHETYPE-546) while using maven to create a new web project,the web.xml file maven generated can not be recognised by spring mvc
[ https://issues.apache.org/jira/browse/ARCHETYPE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16429908#comment-16429908 ]
jinyong zhang commented on ARCHETYPE-546:
-----------------------------------------
how to reopen the issue
> 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
(v7.6.3#76005)