Re: Maven don't include index.jsp
Thank you!!! -- View this message in context: http://maven.40175.n5.nabble.com/Maven-don-t-include-index-jsp-tp5644304p5644716.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Maven don't include index.jsp
You're not using the default folder for the webapp sources. So either change your folder structure (using src/main/webapp instead of WebContent) or configure http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceDirectory Robert Op Mon, 16 Apr 2012 18:19:12 +0200 schreef titans : Hello. I'm doing a training project on Eclipse with Spring MVC and Hibernate. The problem is that I am exporting to the Eclipse WAR file, but TomCat sees it as one error. I decided to try to compile the project in Maven. However, after compiling I see in war only archive of the folder WEB-INF (web.xml and the location of the libraries) and the META-INF. There is no jsp file, why? Help me The context of pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 tableFinish tableFinish war 1.0 tableFinish com.springsource.repository.bundles.release EBR Spring Release Repository http://repository.springsource.com/maven/bundles/release com.springsource.repository.bundles.external EBR External Release Repository http://repository.springsource.com/maven/bundles/external 3.0.1.RELEASE org.apache.maven.plugins maven-war-plugin WebContent\WEB-INF\web.xml maven-compiler-plugin 2.1 1.5 1.5 org.springframework org.springframework.core ${org.springframework.version} org.springframework org.springframework.web ${org.springframework.version} org.springframework org.springframework.web.servlet ${org.springframework.version} commons-logging commons-logging 1.1.1 javax.servlet servlet-api 2.5 junit junit 4.8.1 tableFinish http://maven.40175.n5.nabble.com/file/n5644304/d1.png http://maven.40175.n5.nabble.com/file/n5644304/d2.png -- View this message in context: http://maven.40175.n5.nabble.com/Maven-don-t-include-index-jsp-tp5644304p5644304.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Maven don't include index.jsp
Hello. I'm doing a training project on Eclipse with Spring MVC and Hibernate. The problem is that I am exporting to the Eclipse WAR file, but TomCat sees it as one error. I decided to try to compile the project in Maven. However, after compiling I see in war only archive of the folder WEB-INF (web.xml and the location of the libraries) and the META-INF. There is no jsp file, why? Help me The context of pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 tableFinish tableFinish war 1.0 tableFinish com.springsource.repository.bundles.release EBR Spring Release Repository http://repository.springsource.com/maven/bundles/release com.springsource.repository.bundles.external EBR External Release Repository http://repository.springsource.com/maven/bundles/external 3.0.1.RELEASE org.apache.maven.plugins maven-war-plugin WebContent\WEB-INF\web.xml maven-compiler-plugin 2.1 1.5 1.5 org.springframework org.springframework.core ${org.springframework.version} org.springframework org.springframework.web ${org.springframework.version} org.springframework org.springframework.web.servlet ${org.springframework.version} commons-logging commons-logging 1.1.1 javax.servlet servlet-api 2.5 junit junit 4.8.1 tableFinish http://maven.40175.n5.nabble.com/file/n5644304/d1.png http://maven.40175.n5.nabble.com/file/n5644304/d2.png -- View this message in context: http://maven.40175.n5.nabble.com/Maven-don-t-include-index-jsp-tp5644304p5644304.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org