Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes compiling OK; runtime class not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "compiling OK; runtime class not found" Watch "compiling OK; runtime class not found" New topic

compiling OK; runtime class not found

Zhenhai Li

Joined: Oct 12, 2001
Posts: 6
This seems wield to me. I hope to find somebody has the same experience could help me.
I am using FedExAPI.JAR in one of my class I call a constructor FedExAPI() in The classpath environment was set correctly because the could be compiled without complain. However the FedExAPI() constructor could not be found at runtime giving me an exception like this
001.10.15 12:08:39: Multiserver,ERROR: Unable to change application to running state: com/fedex/api/FedExAPI
2001.10.15 12:08:39: Multiserver,ERROR+ java.lang.NoClassDefFoundError: com/fedex/api/FedExAPI
2001.10.15 12:08:39: Multiserver,ERROR+ at
What is wrong here? Shipping.class runs well on a test server with same environment of Linux6.2, jdk1.2.2 and pentium iii.
Any hint will be appreciated
I agree. Here's the link:
subject: compiling OK; runtime class not found
jQuery in Action, 3rd edition