You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kumari, Shailja" <Sh...@deshaw.com> on 2009/01/10 14:24:24 UTC

Maven surefir report problem

I executed mvn test 

[INFO] Surefire report directory
org.apache.maven.surefire.booter.SurefireExecutionException:
DoubleArrayQueueTest (wrong name: a/b/c/DoubleArrayQueueTest; nested
exception is java.lang.NoClassDefFoundError: DoubleArrayQueueTest (wrong
name:a/b/c/DoubleArrayQueueTest)
java.lang.NoClassDefFoundError: DoubleArrayQueueTest (wrong name: )
        at java.lang.ClassLoader.defineClass1(Native Method)

In pom.xml

 
<testClassesDirectory>${TOPDIR}/a/b/c/test</testClassesDirectory>
 
<testSourceDirectory>${TOPDIR}/${JAVA_CLASSES_SRC}/a/b/c/test</testSourc
eDirectory>

Why this error

Am I wrong some where ?

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


Re: Maven surefir report problem

Posted by Dan Tran <da...@gmail.com>.
i dont think surefire understands test source directory outside of its
project, regard less how you configure it.

-D

On Sat, Jan 10, 2009 at 5:24 AM, Kumari, Shailja
<Sh...@deshaw.com> wrote:
>
> I executed mvn test
>
> [INFO] Surefire report directory
> org.apache.maven.surefire.booter.SurefireExecutionException:
> DoubleArrayQueueTest (wrong name: a/b/c/DoubleArrayQueueTest; nested
> exception is java.lang.NoClassDefFoundError: DoubleArrayQueueTest (wrong
> name:a/b/c/DoubleArrayQueueTest)
> java.lang.NoClassDefFoundError: DoubleArrayQueueTest (wrong name: )
>        at java.lang.ClassLoader.defineClass1(Native Method)
>
> In pom.xml
>
>
> <testClassesDirectory>${TOPDIR}/a/b/c/test</testClassesDirectory>
>
> <testSourceDirectory>${TOPDIR}/${JAVA_CLASSES_SRC}/a/b/c/test</testSourc
> eDirectory>
>
> Why this error
>
> Am I wrong some where ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

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