• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.noclassdeffounderror

 
zeesan aftab
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 977
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

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

[]s
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic