j2se-【求助】Maven 打包时出现错误,webxml attribute is required

问题描述

【求助】Maven 打包时出现错误,webxml attribute is required

我从SVN上检出的项目,在打包的时候出现了以下的错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:w
ar (default-war) on project lmsportal-admin: Error assembling WAR: webxml attrib
ute is required (or pre-existing WEB-INF/web.xml if executing in update mode) ->
[Help 1]
有没有哪位出现过类似的错误?求指点一下,百度了一天了,头昏脑涨的问题还是没能解决。

时间: 2024-08-04 07:57:13

j2se-【求助】Maven 打包时出现错误,webxml attribute is required的相关文章

j2se-maven 打包时出现错误

问题描述 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

【maven 报错】maven项目执行maven install时报错Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

  在使用maven新建的web项目中,执行   执行如上的这两个操作,报错: 1 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project bioligyInfo: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0

maven 打包时去除依赖包 或者文件

maven打包时会把该包依赖的包一起打进来,但某些时候我们并不需要这些包,例如xerces(用于解析XML)导进来后可能会造成tomcat启动的异常(包冲突),需要打包时排除掉. 1.排除依赖包           <dependency>             <groupId>commons-dbcp</groupId>             <artifactId>commons-dbcp</artifactId>           

maven打包jar时打入jsp

问题描述 maven打包jar时打入jsp maven打包时打入jsp,然后在普通项目中导入jar,怎么去引用jar里的jsp? 解决方案 不可能直接访问到.首先你得把这个jar文件放到你得class path里,然后用servlet把它读出来. 所以访问它得URL应该是 "...../ReadCustomJspServlet?FileName=a.jsp"一类的.然后再这个servlet里面用class loader找到这个文件,new File("a.jsp")

maven 打包 常见错误问题

1.web.xml 位置问题 mvn install一个web项目时,报错如下:Error assembling WAR:webxml attribute is required [plain] view plain copy   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war      (default-war) on project com.alpha.webapp: Err

jetty maven运行时 出现503错误 打不开页面 但是后台显示jetty容器正常

问题描述 jetty maven运行时 出现503错误 打不开页面 但是后台显示jetty容器正常 jetty maven运行时 出现503错误 打不开页面 但是后台显示jetty容器正常

我在用myeclipse进行ant打包时出现下面错误

问题描述 我在用myeclipse进行ant打包时出现下面错误 出现Class not found: org.eclipse.jdt.core.JDTCompilerAdapter

maven 打包错误,请求帮助

问题描述 maven 打包错误,请求帮助 ] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project HR: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.2:war failed: A required class was missing while ex

pom xml-创建maven项目时pom.xml时出现如下错误 求解

问题描述 创建maven项目时pom.xml时出现如下错误 求解