Unfortunately not. It seems however that surefire is actually giving the wrong stacktrace. When I run this via the cli using the classpath that surefire says it is using I get a different exception. It seems that a dependency was missing at that point. When I added it, I got a new exception instead so it seems to be moving along.
On Tue, Apr 7, 2009 at 7:54 PM, Brett Porter <br...@apache.org> wrote: > Is there more of a trace supplied from within Surefire? Have you searched > to see if anyone else encountered this problem? > > Thanks, > Brett > > > > On 08/04/2009, at 10:47 AM, Tim wrote: > > yea the tmp files look fine. In fact I see the correct junit jar version >> and >> all the dependency jars correctly in them.Still, I have no clue why it >> can't >> find a test class directly in it's classpath. >> >> On Tue, Apr 7, 2009 at 7:35 PM, Brett Porter <br...@apache.org> wrote: >> >> That sounds like a separate problem, however I can't tell what is wrong >>> from the info here. Are you able to check the surefire temporary files to >>> see if the arguments look reasonable? >>> >>> - Brett >>> >>> >>> On 08/04/2009, at 10:27 AM, Tim wrote: >>> >>> It doesn't show the junit 3 jar but has the same problem: >>> >>>> >>>> Forking command line: /bin/sh -c cd /home/tich/data/bps_trunk/bps-api && >>>> /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -jar >>>> /tmp/surefirebooter2137625950913122347.jar >>>> /tmp/surefire4278370938049229367tmp /tmp/surefire3389360321643705255tmp >>>> org.apache.maven.surefire.booter.SurefireExecutionException: >>>> com.bps.test.PricingTestSetTestCase; nested exception is >>>> java.lang.NoClassDefFoundError: com.bps.test.PricingTestSetTestCase >>>> >>>> find -name PricingTestSetTestCase.class >>>> ./target/test-classes/com/bps/test/PricingTestSetTestCase.class >>>> >>>> On Tue, Apr 7, 2009 at 7:18 PM, Brett Porter <br...@apache.org> wrote: >>>> >>>> Can you try the latest version of the surefire plugin? (v2.4.3) >>>> >>>>> >>>>> >>>>> On 08/04/2009, at 10:15 AM, Tim wrote: >>>>> >>>>> Yea. It's showing up as [INFO] junit:junit:jar:4.4:test with no >>>>> version >>>>> >>>>> 3 >>>>>> in the list.This is with maven 2.1.0 AND 2.0.10 btw. >>>>>> The reason that I noticed this was because I have a base test class in >>>>>> a >>>>>> dependency that surefire was not able to find. But compilation was >>>>>> fine. >>>>>> >>>>>> On Tue, Apr 7, 2009 at 6:26 PM, Brett Porter <br...@apache.org> >>>>>> wrote: >>>>>> >>>>>> have you confirmed that dependency:list only shows junit 4? >>>>>> >>>>>> >>>>>>> >>>>>>> On 08/04/2009, at 9:18 AM, Tim wrote: >>>>>>> >>>>>>> Why do I see >>>>>>> >>>>>>> >>>>>>> Forking command line: /usr/lib/jvm/jdk1.6.0_13/jre/bin/java >>>>>>>> -classpath >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> /home/tich/.m2/repository/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.jar:/home/tich/.m2/repository/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar:/home/tich/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/tich/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar:/home/tich/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar:/home/tich/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar:/home/tich/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar:/home/tich/.m2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar >>>>>>>> org.apache.maven.surefire.booter.SurefireBooter /tmp/surefire72 >>>>>>>> Even when I am using junit 4.4 as a dependency? >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Emo Philips < >>>>>>>> http://www.brainyquote.com/quotes/authors/e/emo_philips.html >>>>>>>> >>>>>>>> >>>>>>>> - "A computer once beat me at chess, but it was no match for me at >>>>>>>>> >>>>>>>>> kick >>>>>>>> boxing." >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>>>>> For additional commands, e-mail: users-h...@maven.apache.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>> >>>>>> Fred Allen < >>>>>> http://www.brainyquote.com/quotes/authors/f/fred_allen.html >>>>>> >>>>>>> >>>>>>> - >>>>>> "Washington is no place for a good actor. The competition from bad >>>>>> actors >>>>>> is >>>>>> too great." >>>>>> >>>>>> >>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>>> For additional commands, e-mail: users-h...@maven.apache.org >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> >>>> George Burns < >>>> http://www.brainyquote.com/quotes/authors/g/george_burns.html> >>>> - "I spent a year in that town, one Sunday." >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >>> >> >> -- >> >> Fred Allen <http://www.brainyquote.com/quotes/authors/f/fred_allen.html> >> - >> "Washington is no place for a good actor. The competition from bad actors >> is >> too great." >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Andy Warhol <http://www.brainyquote.com/quotes/authors/a/andy_warhol.html> - "I am a deeply superficial person."