Java Client - Trouble-Shooting

Last modified by Lazy Lazarus on 2025/03/28 23:05

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

WOROOT path

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.

Warning

Deployment

When deploying keep in mind you must not use the full sized WebObjects frameworks/jar files. These are meant for the server side.

For client deployment always use the jar files located within theĀ WebServerResources directory of the frameworks. This will save from quite some errors.