You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Onno van der Straaten <on...@logicacmg.com> on 2004/06/24 21:09:04 UTC

maven test causes java.lang.NoClassDefFoundError

Group,
Stuck again ;) 
Now a simple java.lang.NoClassDefError while running maven test.
I tried to get some verbose output but failed. maven.test.jvmargs= -verbose
does make a difference.
Any ideas on this problem will be greatly appreciated.
Kind regards,
Onno

BUILD FAILED
File...... C:\Documents and
Settings\Administrator\.maven\plugins\maven-est-plu
gin-1.6.1\plugin.jelly
Element... junit
Line...... 114
Column.... 41
java.lang.NoClassDefFoundError
Total time: 12 seconds
Finished at: Thu Jun 24 20:59:39 CEST 2004

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven test causes java.lang.NoClassDefFoundError

Posted by Brett Porter <br...@gmail.com>.
Can you post the output of maven -e?

Thanks,
Brett

On Thu, 24 Jun 2004 21:09:04 +0200, Onno van der Straaten
<on...@logicacmg.com> wrote:
> 
> Group,
> Stuck again ;)
> Now a simple java.lang.NoClassDefError while running maven test.
> I tried to get some verbose output but failed. maven.test.jvmargs= -verbose
> does make a difference.
> Any ideas on this problem will be greatly appreciated.
> Kind regards,
> Onno
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\Administrator\.maven\plugins\maven-est-plu
> gin-1.6.1\plugin.jelly
> Element... junit
> Line...... 114
> Column.... 41
> java.lang.NoClassDefFoundError
> Total time: 12 seconds
> Finished at: Thu Jun 24 20:59:39 CEST 2004
> 
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven test causes java.lang.NoClassDefFoundError

Posted by Erik Husby <mh...@broad.mit.edu>.
Onno van der Straaten wrote:

>Group,
>Stuck again ;) 
>Now a simple java.lang.NoClassDefError while running maven test.
>I tried to get some verbose output but failed. maven.test.jvmargs= -verbose
>does make a difference.
>Any ideas on this problem will be greatly appreciated.
>Kind regards,
>Onno
>
>BUILD FAILED
>File...... C:\Documents and
>Settings\Administrator\.maven\plugins\maven-est-plu
>gin-1.6.1\plugin.jelly
>Element... junit
>Line...... 114
>Column.... 41
>java.lang.NoClassDefFoundError
>Total time: 12 seconds
>Finished at: Thu Jun 24 20:59:39 CEST 2004
>  
>
You did not say what type of environment you are running in. I've run in 
a similar problem when using HP'S True64 Unix and their JVM. In my case, 
it would fail to find the Ant JUnit task def inspite of the correct jars 
being in the classpath. I concluded that it was a JVM ClassLoader bug. 
I've switched my development to Windows and Linux.

-- 
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard 
Rm. 2192  320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, mhusby@broad.mit.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org