maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Onno van der Straaten <onno.van.der.straa...@logicacmg.com>
Subject RE: maven test causes java.lang.NoClassDefFoundError
Date Fri, 25 Jun 2004 03:45:20 GMT
Here is the output of maven -e.
Kind regards,
Onno

C:\PARTS\PARTS_WEB>maven war -e
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

build:start:

war:init:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\PARTS\PARTS_WEB/target/classes

BUILD FAILED
java.lang.NoClassDefFoundError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at junit.framework.TestSuite.createTest(TestSuite.java:131)
        at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
        at junit.framework.TestSuite.<init>(TestSuite.java:75)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(J
UnitTestRunner.java:261)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(J
UnitTestRunner.java:219)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
nitTask.java:822)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:556)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:532)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
610)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:485)
        at org.apache.maven.cli.App.main(App.java:1214)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
File...... C:\Documents and
Settings\Administrator\.maven\plugins\maven-test-plu
gin-1.6.1\plugin.jelly
Element... junit
Line...... 114
Column.... 41
java.lang.NoClassDefFoundError
Total time: 7 seconds
Finished at: Fri Jun 25 05:35:53 CEST 2004
 

-----Original Message-----
From: Brett Porter
To: Maven Users List
Sent: 25-6-2004 0:58
Subject: Re: maven test causes java.lang.NoClassDefFoundError

Can you post the output of maven -e?

Thanks,
Brett

On Thu, 24 Jun 2004 21:09:04 +0200, Onno van der Straaten
<onno.van.der.straaten@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

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


Mime
View raw message