I use Tomcat 4.1.x with Eclipse 2.1.x successfully. For that I use the Sysdeo plugin: http://www.sysdeo.com/eclipse/tomcatPlugin.html .
-----Mensaje original----- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: lunes, 19 de abril de 2004 17:10 Para: [EMAIL PROTECTED] Asunto: Re: cocoon under eclipse Hi Olivier, thank you for the replay, but I overtook that phase ; in fact I found on the mail archive a mail of yours with links to Wiki pages "LoadInEclipse" and "DebuggingCocoon"; so I rebuilt my project following that documents ; unfortunately the built went fine, but when I tried to start jetty from within eclipse, I always get an exception java.lang.NoClassDefFoundError: Loader Exception in thread "main". I configured jetty as an application following these notes, reported at the bottom of the LoadInEclipse document : - make sure ./tools/loader is on your eclipse classpath (it isn't by default) - create an eclipse run configuration for Jetty Cocoon: - On configurations 'Main' tab use 'Loader' as the main class. - On the Arguments tab set: - Program arguments: "tools\jetty\conf\main.xml" - VM arguments: "-Djava.endorsed.dirs=./lib/endorsed" "-Dwebapp=./build/webapp" "-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser" "-Djetty.port=8888 -Djetty.admin.port=8889" "-Dhome=." "-Dloader.jar.repositories=./tools/jetty/lib,./lib/endorsed" "-Dloader.main.class=org.mortbay.jetty.Server" Can you please help me ? Thanks a lot Flavio Palumbo >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >From: Olivier Billard <[EMAIL PROTECTED]> >Subject: Re: cocoon under eclipse >Date: Mon, 19 Apr 2004 15:06:10 +0200 > > >Hi Flavio, It may come from a dependency on blocks Check the block.properties if you didn't forget a block on what an other block depends... -- Olivier Billard --------------------------------------------------------------------- To uns >bscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************* Este correo ha sido procesado por el Antivirus del Grupo FCC. ************************************************************* ************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC. ************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]