• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I solve this error?

 
Abder-Rahman Ali
Ranch Hand
Posts: 138
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
 
Abder-Rahman Ali
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Jeanne...that resolved my error.
 
Eric Fancis
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Publisher doesn't sound familiar. What is the package name that it is in?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic