aspose file tools
The moose likes BEA/Weblogic and the fly likes NoClassDefFound Error when invoking web service Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "NoClassDefFound Error when invoking web service" Watch "NoClassDefFound Error when invoking web service" New topic
Author

NoClassDefFound Error when invoking web service

Jayson Kay
Greenhorn

Joined: Feb 08, 2010
Posts: 1
Hi Guys,

I've deployed a web service to WebLogic 10.3 via a war file. The deployment is successful but when I try to invoke the web service I get a NoClassDefFound error on one of my custom classes. Now the jar file that contains this custom class is part of the war file I deployed, located in the WEB-INF/lib folder. I was under the impression that any jar that was in the WEB-INF/lib folder would be automatically picked up.....Is there some other setting somewhere that I need to add my jar file to?

Thanks in advance!
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6592
    
    1

Welcome to javaranch.

No there is no other setting. Can you post the stack trace and the jar names ? Which class holds your jar and what is the hierarchy of the folders


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: NoClassDefFound Error when invoking web service
 
Similar Threads
NoClassDefFound
"NoClassDefFound Error" deploying EAR file
CactusStrutsTestCase - noclassdeffound error
J3D NoClassDefFound
NoClassDEfFound Error