aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Error loading WebappClassLoader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Error loading WebappClassLoader" Watch "Error loading WebappClassLoader" New topic
Author

Error loading WebappClassLoader

renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Folks,
I am geetting the below error, which says that it is not able to find the servlet class.
Nov 18, 2008 5:11:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet logincheck as unavailable
Nov 18, 2008 5:11:39 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@12d3205
com.tvs.tran.servlet.Logincheck
Could someone help me on this. Thanks


Cheers,
Richard
Vijay Jeyam
Greenhorn

Joined: Nov 12, 2008
Posts: 15
First check whether you have all the library files in the lib directory inside the WEB-INF directory.

Can you put the log message you are getting to probe more.


Never Never Never Give Up...!!!
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Hi,

Please see below the console logs.


Thanks
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Guys,
Someone Please help me on this....
li bei
Greenhorn

Joined: Jul 22, 2007
Posts: 20
It seems that the class com.tvs.tran.servlet.Logincheck is missing.
Make sure there is the .class file WEB-INF/classes/com/tvs/tran/servlet/Logincheck.class.
Or some other reason, I'm not sure.


I am sorry that my English is poor.If there is something wrong with my words,please tell me .Thank you very much.
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Yeah....you are right. I am running this in eclipse. The class files are not getting created in that location. Not sure why this is missing. Is any jars missing ? If so, wont it tell in the logs?

Thanks
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
As li bei pointed out you are probably missing the Jar file which contains the LoginCheck.class.

There's a handy tool that you can use with Eclipse which is called the JAR Class Finder.

It helps you locate the name of the JAR which contains the class you're looking for.

You might want to give it a try.


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error loading WebappClassLoader