When I get to the “Run the Application Client” section of the online tutorial, I get a ClassDefNotFound error when I try to select the HelloClient node in the Explorer window to run the client. How do I fix this?
Make sure that in the “Mount the j2ee_samples Directory” section of the tutorial, you executed steps 4 and 5 correctly. The directory you mount must be the j2ee_samples directory, not the Development directory. The general rule is that you must mount the directory that corresponds to the topmost level of the package you are working with. For example, suppose you have a file named MyClass.java that resides in the directory /home/me/myDirectory/com/mycompany/tools/myStuff. The MyClass.java package name is com.mycompany.tools.myStuff. In this case, you must mount the directory /home/me/myDirectory, so that when you expand this node in the Forte Explorer window, you see the directory com as a child node of this /home/me/myDirectory mounted directory node.