Run mvn -X -e test to hopefully reveal more details about the error.

Also confirm for us that you have:
1. java junit test files named XXXTest.java in your src/test/java folders
2. those test files have test method signatures like public void testXXX() {}

Just a few days ago, someone else posted with a Surefire problem that
was related to not having a single test method in their test file(s).

So please make sure your test files are proper Junit test files...

Wayne


On 3/18/06, A S Praj <[EMAIL PROTECTED]> wrote:
>  Hi Team,
>
>       Am very new to Build as well as Maven. I managed to compile a source
> using mvn compile.      When I try to do test i.e mvn test am getting the
> following Error
>
> RUN ABORTED
> java.lang.NoSuchMethodException
> org.apache.maven.surefire.Runner
> An exception or error caused a run to abort.
> org.apache.commons.beanutils.TestBeanPackageSubclass.<init>()
>
> what could be the problem.
>
> If any one can help me out in this that will be great help for me to Explore
> more things
>
> Regards
>
>
> A.S.P. Raj
>
>

Reply via email to