Upgrade from Eclipse 2.0 to 2.1 loses JUnit [message #11603] |
Fri, 02 May 2003 03:08 |
Eclipse User |
|
|
|
Originally posted by: robert.welbourn.com
I upgraded from Eclipse 2.0 to 2.1, but in the process I seem to have
broken anything that used JUnit. For example, the import declaration
import junit.framework.TestCase;
results in the error message "the import junit cannot be resolved"
Most likely this is some form of classpath problem. Can anyone point me
in the right direction to fix this?
Thanks,
Rob
|
|
|
|
Re: Upgrade from Eclipse 2.0 to 2.1 loses JUnit [message #12332 is a reply to message #11673] |
Fri, 02 May 2003 14:50 |
Eclipse User |
|
|
|
Originally posted by: robert.welbourn.com
Leon,
Thanks - that did the trick.
Rob
Leon Webster wrote:
> make sure you have the right junit jar in your project's classpath. With
> version 2.1, you want the one in $eclipse/plugins/org.junit_3.8.1 where
> $eclipse represents the eclipse installation directory. The version of
> junit changed from 3.7 to 3.8.1, so your eclipse 2.0 projects are probably
> looking for $eclipse/plugins/org.junit_3.7
|
|
|
Powered by
FUDForum. Page generated in 0.02966 seconds