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
Author

java.lang.noclassdeffounderror

zeesan aftab
Greenhorn

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
Hi,

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

${WL_HOME}/servers/lib/weblogic.jar

[]s
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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