This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am following the Sun J2EE tutorial. When I build and deploy the Checker example. I am recieving the following error when I run the client: Application threw an exception:java.langNoClassDefFoundError: CheckerHome This is baffling me as I built and deployed the example in exactly the same manner for the previous examples and had no problems. Has anyone else encountered this problem and if so how did you resolve the error?
From the error message it seems that the java runtime system is unable to find this checker class on your machine. You deployed the application as per the exact steps of tutorila is ok, but please re-check the classpaths of your machine and see to it that this checkr class is accessible through the classpath.
Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
Joined: May 15, 2001
I managed to get the example working by changing the code in the client class from to Can anyone please explain why I needed to create a context which is basically my environment and then another to find the ejb. Is this only necessary when the client isn't specified in the classpath? I am setting the APPCPATH to the client jar each time I test.