Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Elasticsearch in Action this week in the Big Data 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: 6662

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