• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class.forName("weblogic.webservice.WebService");

The above statement doesn't throw ClassNotFoundException even when this class "weblogic.webservice.WebService" doesn't exists in weblogic.jar.I am setting weblogic.jar file in the classpath.If I takeout weblogic.jar from classpath it throws the exception.Am I doing something wrong in syntax above?

Thanks
Veena
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at the manifest file inside weblogic.jar (in META-INF) directory it specified a Class-path that includes webservices.jar from the same lib directory that weblogic.jar is in. I think that jar, webservices.jar or possibly another jar specified in manifest classpath, should have the class you are talking about in it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic