Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Package not found error
Package not found error [message #290870] Fri, 02 September 2005 14:57
Eclipse UserFriend
Originally posted by: sunitjoshi.netzero.com

Hello
When try to run my simple build.xml, I get these errors

[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java: 9:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java: 17:
cannot resolve symbol
[javac] symbol : class TestCase
[javac] location: class org.sj.Ch2_01Test
[javac] public class Ch2_01Test extends TestCase

Now I can run the Ch2_01Test file within eclipse and it goes thru. fine.

Under my project's properties, I have in the Order And Export tab listed
Ch2/src - Checked
JRE System Library 1.4.2 - Unchecked
[JUNIT_HOME]/juint.jar - path to the jar file - I Checked this one

Under Libraries tab
I have both JUNIT_HOME and SRE System Library

Any ideas what might be wrong that Ant complains. I'm in Eclipse 3.1

thanks
Sunit
Previous Topic:Programmatically defining perspectives
Next Topic:How can I hook the Open File action?
Goto Forum:
  


Current Time: Thu Apr 25 14:29:00 GMT 2024

Powered by FUDForum. Page generated in 0.03595 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top