| Author |
How can I solve this error?
|
Abder-Rahman Ali
Ranch Hand
Joined: May 22, 2008
Posts: 138
|
|
I get an error saying the following:
The type junit.framework.TestCase cannot be resolved. It is indirectly referenced from required .class files
Any ideas on how it can be resolved?
Thanks.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
|
Is JUnit 3.8 in your classpath.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Abder-Rahman Ali
Ranch Hand
Joined: May 22, 2008
Posts: 138
|
|
Jeanne Boyarsky wrote:Is JUnit 3.8 in your classpath.
I think I figured out the problem. I was creating a new class and not a new JUnit class.
Thanks.
|
 |
Hrushikesh Deshmukh
Greenhorn
Joined: Jul 22, 2007
Posts: 4
|
|
|
Thanks a lot Jeanne...that resolved my error.
|
Thanks and Regards,<br /> <br />Hrushikesh<br />SCJP 1.5
|
 |
Eric Fancis
Greenhorn
Joined: Jun 14, 2011
Posts: 27
|
|
Thanks for solving this. I had the same question. Now I have a new question.
Where does object Publisher come from? I'm getting an error: Publisher cannot be resolved to a type
Thanks
|
http://www.h4t3r.com
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
|
Publisher doesn't sound familiar. What is the package name that it is in?
|
 |
 |
|
|
subject: How can I solve this error?
|
|
|