Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8151C9E11 for ; Thu, 5 Apr 2012 13:53:50 +0000 (UTC) Received: (qmail 45509 invoked by uid 500); 5 Apr 2012 13:53:48 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 45381 invoked by uid 500); 5 Apr 2012 13:53:48 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 45079 invoked by uid 99); 5 Apr 2012 13:53:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 13:53:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 13:53:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1421035A376 for ; Thu, 5 Apr 2012 13:53:27 +0000 (UTC) Date: Thu, 5 Apr 2012 13:53:27 +0000 (UTC) From: "Leigh Anderson (Created) (JIRA)" To: dev@tomcat.apache.org Message-ID: <1993941367.16964.1333634007099.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MTOMCAT-136) Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with = run goal ---------------------------------------------------------------------------= -------- Key: MTOMCAT-136 URL: https://issues.apache.org/jira/browse/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 (*$^=C2=A8%`=C2=A3) 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: =09[INFO] -----------------------------------------------------------------= ------- =09[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plu= gin:2.0-beta-1:run (default-cli) on project mantis-test-web-app: No such ar= chiver: 'jar'. -> [Help 1] =09[ERROR] =09[ERROR] To see the full stack trace of the errors, re-run Maven with the= -e switch. =09[ERROR] Re-run Maven using the -X switch to enable full debug logging.= =09 I have also tried =09* 'mvn tomcat:run-war', which seems to get past this point, but then the= application will not start because the 'additionalClasspathDir' property i= s not supported by the 'run-war' goal. =09* removing 'useSeparateTomcatClassLoader' which then doesn't load the Sp= ring instrumenting class loader required to use AspectJ LTW, specified in c= ontext.xml. I have confirmed that I get the same 'no such archiver' error i= f I remove the context.xml, so I don't believe this to be the cause. Plugin configuration: org.apache.tomcat.maven tomcat7-maven-plugin 2.0-beta-1 =09=09=09=09true localhost 9090 8443 9090 8443 / false ${project.basedi= r}/config true org.springframework =09=09=09=09spring-instrument-tomcat ${spring.version} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org