Hi martin, Can you add the -X option to launch maven and send us (on this list or on the maven users list or on Jira) the log please.
Arnaud > -----Message d'origine----- > De : Martin Cooper [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 25 juillet 2004 17:45 > À : Jakarta Commons Developers List > Objet : Re: [any] NoClassDefFoundError trying to build with Maven 1.0 > > On Sun, 25 Jul 2004 12:11:58 +0200, Dennis Lundberg > <[EMAIL PROTECTED]> wrote: > > Did you remember to erase the .maven folder in your home directory? A > > Well, what I meant by a "clean machine" is one that has ever seen > Maven before. However, I've tried blowing every trace of Maven off the > machine and starting again, and still no deal. ;-( > > > common cause for trouble is having files there from an older version of > > Maven. > > > > I did this on my machine: > > - Delete %USER_HOME%\.maven > > - Install Maven 1.0 final > > - cvs update on > > + jakarta-commons/commons-build > > + jakarta-commons/logging > > - Run "maven clean dist" in logging > > > > It works fine. > > Hmmph. I just tried exactly that, and no deal for me. > > BTW, I'm running on Win2K, Sun JDK 1.4.2_04. Looks like you're running > on some flavour of Windows too, so it's probably not a Windows thing. > I've tried using the installer and the vanilla zip file, and it makes > no difference. ;-( > > -- > Martin Cooper > > > > > > -- > > Dennis Lundberg > > > > > > > > Martin Cooper wrote: > > > So I installed Maven 1.0 on a clean machine, and now any Commons > > > component I try to build fails with a NoClassDefFoundError, > > > complaining about a missing MethodInvocationException from Velocity. > > > > > > I checked the maven-user archives, and all I can find is a message > > > from jvz saying to add the Velocity jar as a dependency in > > > project.xml. This doesn't sound right, because I can't believe that > > > all of the components I've tried to build so far are missing the exact > > > same change in their project.xml file, and I haven't seen anyone else > > > griping about this problem here, so other people must have it working. > > > > > > Obviously I'm missing something else. Can someone clue me in? > > > > > > TIA. > > > > > > -- > > > Martin Cooper > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]