File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes NoClassDefFound Error when invoking web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "NoClassDefFound Error when invoking web service" Watch "NoClassDefFound Error when invoking web service" New topic

NoClassDefFound Error when invoking web service

Jayson Kay

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

Joined: Feb 24, 2006
Posts: 6661

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 - More SCJP Mocks
I agree. Here's the link:
subject: NoClassDefFound Error when invoking web service
Similar Threads
"NoClassDefFound Error" deploying EAR file
CactusStrutsTestCase - noclassdeffound error
NoClassDEfFound Error
J3D NoClassDefFound