Hi all JavaRanch professional:
I have a problem in running the book example code in HFEJB P57, P58.
When I do all the things in application deployment tool(RI).
Then I compile the code and run the class file
I use WinXP and install J2SDK1.4.01, J2EE1.3 to run the code.
I follow the book deploy step to deploy the code
I use the follow command to compile the code (that ok, No warning or error)-
"javac -classpath c:\j2sdkee1.3.1\lib/j2eejar;AdviceAppClient.jar AdviceClient.java"
Then I use the follow command to run the class file
"java -cp c:\j2sdkee1.3.1\lib/j2eejar;AdviceAppClient.jar AdviceClient"
The problem occurs, It show!
"Exception in thread "main" java.lang.NoClassDefFoundError: AdviceClient"
What 's going on!
Please Help Me..........