开发者

Why is maven looking for `webapp\WEB-INF\web.xml` instead of `web-app\WEB-INF\web.xml`

I have a Maven/Grails app that almost builds, but fails开发者_开发百科 to find web.xml at [my-app]\webapp\WEB-INF\web.xml. But the directory structure contains a web-app folder, as usual, not webapp.

Is this a matter of an old version of maven interacting with Grails in a strange way? Or is it a bad error message? Or any other ideas?


The standard for maven is to name the directory "webapp" not "web-app"

http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜