aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 6657
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.noclassdeffounderror
 
Similar Threads
deploying jbpm to jboss
ClassNotFoundException vs NoClassDefFoundError
ServletExeption problem?
Difference between java.lang.ClassNotFoundException and java.lang.NoClassDefFoundError ?
jar file external web inf lib