This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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: 8795

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: 8795

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: 8795

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Maven Tomcat Plugin Issue
 
Similar Threads
java.lang.IllegalArgumentException: Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp
Spring Tomcat Application - Startup Problems
Make script to install war files in Tomcat
Tomcat - Struts app Startup Error
Maven: No SCM URL was provided to perform the release from