File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven Tomcat Plugin Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven Tomcat Plugin Issue" Watch "Maven Tomcat Plugin Issue" New topic
Author

Maven Tomcat Plugin Issue

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Guys,

I have some problems executing mvn tomcat:run for my project. I get the following exception when I issue this command to my project.



As per Spring documentation, I have my context.xml located under META-INF of my project



I also have the spring-tomcat-weaver.jar located under lib directory of my Tomcat. Any suggestions on why this problem?


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Is there any specific configuration that I have to do for the embedded Tomcat to work?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Did anyone had success running embedded Tomcat (mvn tomcat:run) for a Spring based app? Since morning i could not figure this issue out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven Tomcat Plugin Issue
 
Similar Threads
Spring Tomcat Application - Startup Problems
Tomcat - Struts app Startup Error
java.lang.IllegalArgumentException: Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp
Make script to install war files in Tomcat
Maven: No SCM URL was provided to perform the release from