I added ant to the jetty classpath can you try it :
maven plugin:download -DgroupId=maven -DartifactId=maven-jetty-plugin -Dversion=1.2-SNAPSHOT -Dmaven.repo.remote=http://cvs.apache.org/repository/ Arnaud On 8/31/05, Greg Hall <[EMAIL PROTECTED]> wrote: > > Hi Vincent, > > I've tried the new version of the plugin but unfortunately it doesn't > work. I'm still getting the "java.lang.NoClassDefFoundError: > org/apache/tools/ant/BuildException" exception when I go to the first > JSP. > > I did notice that Maven downloaded the latest ant.jar file (1.6.5) when > I first ran "maven jetty:run". I guess ant.jar is not getting added to > the classpath for some reason. > > Regards, > Greg. > > > On Wed, 2005-08-31 at 17:24 +0200, Vincent Massol wrote: > > > Hi Greg, > > > > > -----Original Message----- > > > From: Greg Hall [mailto:[EMAIL PROTECTED] > > > Sent: mercredi 31 août 2005 10:15 > > > To: Maven Users List > > > Subject: RE: Jetty Plugin: > > > java.lang.NoClassDefFoundError:sun/tools/javac/Main > > > > > > Hi Vincent, > > > > > > I tried the new version of the plugin, and it seems to have fixed the > > > tools.jar problem. However, I now get another error which I think is > due > > > to ant.jar not on the classpath (stack trace below). I do have > ANT_HOME > > > set correctly i.e. &ANT_HOME=/opt/tools/ant > > > > I've uploaded a new version on: > > http://www.apache.org/~vmassol/maven-jetty-plugin-1.2-SNAPSHOT.jar > > > > Make sure you delete the old version and remove your > ~userhome/.maven/cache > > directory to be sure there's no mixup with the previous version. > > > > Let me if it works > > > > [snip] > > > > Thanks > > -Vincent > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > Gregory Hall MIAP MBCS > Chief Software Architect > Evolution Technology Services Ltd > ---------------------------------- > > Evolution Technology Services Ltd. > > PLEASE NOTE: > This e-mail is confidential to the ordinary user of the mailbox to which > it was addressed. It may be disclosed only for the purposes for which it was > sent. If you receive this e-mail in error you should not use, disclose, > copy, forward or rely on it, but destroy it and notify the sender. > > Please visit http://www.evolutionunderwriting.com/home/email.html for the > full wording of our disclaimer. >