2 longxingqianli longxingqianli 于 2013.07.12 16:42 提问

maven 打包时出现错误

错误提示如下所示:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war
(default-war) on project lmsportal-admin: Error assembling WAR: webxml attribut
e is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [
Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
使用的MyEclipse 10.7,Maven3.1.0,项目是从SVN检出的。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!