Java Client - Trouble-Shooting

Version 18.1 by David Avendasora on 2008/06/23 15:47
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Server-Side Errors

Server exception: Unable to perform the server invocation: The method clientSideRequestGetXMLs was not found.

Unknown macro: noformat. Click on this message for details.

This error is generated at application startup when you have the wojavaclient.jar loading prior to the regular WO Frameworks - specifically JavaEOApplication.framework.

Client-Side Errors

java.lang.NoClassDefFoundError

Unknown macro: noformat. Click on this message for details.

If the client-side application is complaining about not being able to find classes that are part of a framework when run from within Eclipse, it means the the ClasspathClient.txt is missing classpath entries. This file is not automatically maintained by WOLips (yet). Any frameworks that you import into your project must have a corrosponding entry formatted as follows:

Unknown macro: noformat. Click on this message for details.

Warning

Be Careful

Don't use the WOROOT path of the framework (WOROOT/Library/Frameworks/MyFramework.framework/WebServerResources/Java/MyFramework.jar)
 because this is only valid for the core WebObjects frameworks. Any other frameworks (yours, Wonder, etc) need to be located in the APPROOT.