下面这个Maven输出是神马意思?
[INFO] Building war: D:\web.war[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ig
nored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specifi
ed as 'true')
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.924s
[INFO] Finished at: Tue Jan 08 10:31:45 CST 2013
[INFO] Final Memory: 6M/13M
[INFO] ------------------------------------------------------------------------
求知道:) --------------------编程问答-------------------- 打了一个web.war包在你的d盘。成功了。
--------------------编程问答--------------------
webxml attribute is missing from war task, or ignoreWebxml attribute is specifi
ed as 'true'
喵的,这是神马意思? --------------------编程问答-------------------- [WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ig
nored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specifi
ed as 'true')
说你在打war包的时候忽略了WEB-INF/web.xml文件。
你用maven打包的时候,应该有一个参数 ignoreWebxml 它的值为 true 。 你可以把它改成false。你的war包就正常了。 --------------------编程问答--------------------
喵的,打开war包,发现里面有只web.xml呢:)
喵的,乃是骗子:(
木有忽略呢:( --------------------编程问答-------------------- web.xml有问题,应该是哪个属性的设置语法有问题,把这个web.xml晒出来给大家看下 --------------------编程问答--------------------
喵的,属性有神马问题? --------------------编程问答--------------------
pom.xml中没看到这个选项啊?
难道默认ignore是true?
补充:Java , Web 开发