maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: Counldn't find junit package
Date Sat, 01 Mar 2008 02:33:52 GMT
On Fri, Feb 29, 2008 at 7:21 PM, youhaodeyi <> wrote:

>  When I run "mvn test" to run my junit test, I always get the error "package
>  org.junit does not exist".

That's odd.  Once again I'd say go back to the quickstart archetype
(which has a JUnit dependency and a simple unit test) and see if you
can reproduce it.

This works for me:
$ mvn archetype:create -DgroupId=com.example -DartifactId=myproject
$ cd myproject
$ mvn test


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message