aspose file tools*
The moose likes JSP and the fly likes How to resolve ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to resolve ClassNotFoundException" Watch "How to resolve ClassNotFoundException" New topic
Author

How to resolve ClassNotFoundException

Swapna latha
Ranch Hand

Joined: Dec 18, 2011
Posts: 70
Hi,

I am getting an error in the jsp page. I am not understanding whats the error and how to resolve it.

Any suggestions are highly appreciated



Regards
Swapna
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

java.lang.ClassNotFoundException: com.apnabox.presentation.servlets.SystemFilter.class


[I am not sure] just check filter-class mapping name . is it end with *.class* string? if yes remove and give an another try.
Swapna latha
Ranch Hand

Joined: Dec 18, 2011
Posts: 70
hi seetha rama swamy there is no .class in the filter mapping. Its fine in the mapping class. What exactly is the problem also i am unable to find it.

regards

Swapna
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 226

checkout your code..

did you implement filter class with your filter with proper imports of javax dorectories..
and your filter class is placed in web-inf/class/* directory of your web-app ..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

shivam singhal wrote: and your filter class is placed in web-inf/class/* directory of your web-app ..

This is not correct. The correct directory is WEB-INF/classes


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
shivam singhal
Ranch Hand

Joined: Jul 15, 2012
Posts: 226

sorry,,
yeah bear is correct.. :)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

This error simply means that the com.apnabox.presentation.servlets.SystemFilter class has not been included in the web application. What is this class, and where did you place the class file?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to resolve ClassNotFoundException