aspose file tools
The moose likes Java in General and the fly likes It is indirectly referenced from required class file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "It is indirectly referenced from required class file" Watch "It is indirectly referenced from required class file" New topic
Author

It is indirectly referenced from required class file

Kishor Lohare
Greenhorn

Joined: Jun 26, 2009
Posts: 1

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

Joined: Jan 10, 2002
Posts: 56547
    
  14

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: It is indirectly referenced from required class file
 
Similar Threads
How can I solve this error?
java.lang.NoClassDefFoundError: javax/el/ValueExpression
Spring with Quartz
JAXB/Marshaller/XMEventWriter
Help deploying app-duke bookstore .WAR file