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 D42679E3F for ; Thu, 5 Apr 2012 14:17:45 +0000 (UTC) Received: (qmail 39524 invoked by uid 500); 5 Apr 2012 14:17:45 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 39457 invoked by uid 500); 5 Apr 2012 14:17:44 -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 39446 invoked by uid 99); 5 Apr 2012 14:17:44 -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 14:17:44 +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 14:17:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5CD9635A821 for ; Thu, 5 Apr 2012 14:17:23 +0000 (UTC) Date: Thu, 5 Apr 2012 14:17:23 +0000 (UTC) From: =?utf-8?Q?Olivier_Lamy_=28*=24=5E=C2=A8=25?= =?utf-8?Q?=60=C2=A3=29_=28Updated=29_=28JIRA=29?= To: dev@tomcat.apache.org Message-ID: <204671676.17089.1333635443650.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1993941367.16964.1333634007099.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/MTOMCAT-136?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^=C2=A8%`=C2=A3) updated MTOMCAT-136: ------------------------------------------- Priority: Major (was: Minor) Fix Version/s: 2.0 =20 > Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails wit= h 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) > Fix For: 2.0 > > > 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-p= lugin:2.0-beta-1:run (default-cli) on project mantis-test-web-app: No such = archiver: 'jar'. -> [Help 1] > =09[ERROR] > =09[ERROR] To see the full stack trace of the errors, re-run Maven with t= he -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 t= he application will not start because the 'additionalClasspathDir' property= is not supported by the 'run-war' goal. > =09* 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: > > org.apache.tomcat.maven > tomcat7-maven-plugin > 2.0-beta-1 > > > =09=09=09=09true > localhost > 9090 > 8443 > > 9090 > 8443 > / > false > > ${project.base= dir}/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