tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leigh Anderson (Created) (JIRA)" <>
Subject [jira] [Created] (MTOMCAT-136) Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal
Date Thu, 05 Apr 2012 13:53:27 GMT
Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

                 Key: MTOMCAT-136
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat7
    Affects Versions: 2.0-beta-1
         Environment: Java 1.6.0_26, Maven 3.0.4, OS X 10.7.3
            Reporter: Leigh Anderson
            Assignee: Olivier Lamy (*$^¨%`£)
            Priority: Minor

I'm trying to start a web application with 'mvn tomcat7:run'. It seems
that with the configuration below it fails with the following error:

	[INFO] ------------------------------------------------------------------------
	[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-beta-1:run
(default-cli) on project mantis-test-web-app: No such archiver: 'jar'. -> [Help 1]
	[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.	

I have also tried
	* 'mvn tomcat:run-war', which seems to get past this point, but then the application will
not start because the 'additionalClasspathDir' property is not supported by the 'run-war'
	* removing 'useSeparateTomcatClassLoader' which then doesn't load the Spring instrumenting
class loader required to use AspectJ LTW, specified in context.xml. I have confirmed that
I get the same 'no such archiver' error if I remove the context.xml, so I don't believe this
to be the cause.

Plugin configuration:


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message