Hi Greg, > -----Original Message----- > From: Greg Hall [mailto:[EMAIL PROTECTED] > Sent: mardi 30 août 2005 18:47 > To: [email protected] > Subject: Jetty Plugin: java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > Hi, > > I'm new to Maven and have been following the examples in the Maven > developers notebook book. I've tried using the jetty plugin to load a > war containing an application which includes some JSP's. > > Jetty starts up fine, but when I go to the first page (a JSP) I get the > error below. > > I realise this is because Jetty can't find tools.jar to compile the > generated servlet code- what I don't know is how to add tools.jar to the > jetty plugin classpath. JAVA_HOME is set up correctly. I'm using jdk1.5 > on Linux. > > Any help would be most appreciated.
I guess I've neglected the Jetty plugin for some time now... (Actually I've been working on Cargo - htptp://cargo.codehaus.org - which I hope will replace all those individual container plugins one day). I've just applied http://jira.codehaus.org/browse/MPJETTY-2. Could you please try http://www.apache.org/~vmassol/maven-jetty-plugin-1.2-SNAPSHOT.jar and see if it works? To use it, simply drop it in your MAVNEHOME/plugins directory and remove the previous version there. Thanks -Vincent ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
