• Post Reply Bookmark Topic Watch Topic
  • New Topic

It is indirectly referenced from required class file  RSS feed

 
Kishor Lohare
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi

I am getting fallowing error in project

The type javax.servlet.http.HttpServlet can not be resolved. It is indirectly referenced from required class file.
What is reason giving error like this where as servlet.jar is already in classpath.


Please help me.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kishor Lohare wrote:What is reason giving error like this where as servlet.jar is already in classpath.

The only explanation is that it's not on the classpath; even though you may think that it is.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!