|Re: JUnit Problem [message #544488 is a reply to message #544481]
||Fri, 02 July 2010 20:24
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 7/2/2010 1:30 PM, Lafare wrote:|
> I'm very new to Java/Eclipse.
> I've installed the Eclipse Helios version on my PC/Windows.
> I've created a very basic project HelloWorld that works fine.
> I'm trying to create a JUnit test using the wizard and when I launch the
> test, I get the following error. (I tried JUnit 3 and 4, same result):
> Caused by: java.lang.ClassNotFoundException:
1. Right-click on your project and choose Build Path -> Configure Build
2. Click on the Libraries tab.
3. Click Add Library.
4. Click JUnit, then choose either JUnit 3 or 4 depending on which you
want to use (if you're going to use Java 5 or 1.6, I'd suggest JUnit 4).
5. Right-click the JUnit test you wanted to run and choose Run As ->
You shouldn't be missing this symbol now, I think.
Powered by FUDForum
. Page generated in 0.03408 seconds