- 打成war包报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project financial-atlas: Error assembling WAR: webxml attribute 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 switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
打成jar包没问题
项目右键-》java EE 工具集-》Generate Deploy…
2. 找不到java EE工具集
项目右键-》Maven-》Disable Maven Nature
重新转换该工程为Maven工程。
项目右键-》 Configure-》Convert to Meven Project