||Using SOAP with Tomcat|
|Subject:||Please Help Me!!|
Response to: Please Help Me!!
I had the exact same problem, and it was driving me mad. What I was doing wrong sounds really newbie but here goes....
I did not understand the packages system properly, so when I compiled CalcClient, I tried to run it from the same directory ie
mydir> javac CalcClient.java
mydir> java onjava.CalcClient 98 90
Exception in thread "main" java.lang.NoClassDefFoundError: onjava/CalcClient
What I needed to do was create a directory called onjava and have the class file in there thus: