This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes java.lang.noclassdeffounderror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "java.lang.noclassdeffounderror " Watch "java.lang.noclassdeffounderror " New topic


zeesan aftab

Joined: Jul 02, 2009
Posts: 1
I am using jdk1.5, weblogic10 and when compiling my sources with Ant, following exception is thrown:

java.lang.noclassdeffounderror weblogic.utils.nestedexception

Kindly provide a solution for this problem.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

your ant environment should have weblogic.jar in it's classpath!


Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

Besides that you may require other JARs that weblogic loads dynamically at runtime. It depends on what classes you client app is using. Or is this a web app ?

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Consider Paul's rocket mass heater.
subject: java.lang.noclassdeffounderror
Similar Threads
Difference between java.lang.ClassNotFoundException and java.lang.NoClassDefFoundError ?
ServletExeption problem?
deploying jbpm to jboss
ClassNotFoundException vs NoClassDefFoundError
jar file external web inf lib