Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFound Error when invoking web service

 
Jayson Kay
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic