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

From version 14.1
edited by David Avendasora
on 2008/06/23 15:24
Change comment: There is no comment for this version
To version 18.1
edited by David Avendasora
on 2008/06/23 15:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,7 +2,7 @@
2 2  
3 3  === Server exception: Unable to perform the server invocation: The method clientSideRequestGetXMLs was not found. ===
4 4  
5 -{{code}}
5 +{{noformat}}
6 6  
7 7  [2008-6-23 15:1:0 EDT] <WorkerThread0> Server exception: Unable to perform the server invocation: The method clientSideRequestGetXMLs was not found.
8 8  [2008-6-23 15:1:0 EDT] <WorkerThread0> java.lang.IllegalArgumentException: Unable to perform the server invocation: The method clientSideRequestGetXMLs was not found.
... ... @@ -27,8 +27,53 @@
27 27   at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
28 28   at java.lang.Thread.run(Thread.java:613)
29 29  
30 -{{/code}}
30 +{{/noformat}}
31 31  
32 -This error is generated when you have the wojavaclient.jar loading prior to the regular WO Frameworks - specifically JavaEOApplication.framework.
32 +This error is generated at application startup when you have the wojavaclient.jar loading prior to the regular WO Frameworks - specifically JavaEOApplication.framework.
33 33  
34 34  = Client-Side Errors =
35 +
36 +=== java.lang.NoClassDefFoundError ===
37 +
38 +{{noformat}}
39 +
40 +Exception in thread "AWT-EventQueue-0" com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] com/company/myapp/common/MyClass:java.lang.NoClassDefFoundError: com/company/myapp/common/MyClass
41 + at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:39)
42 + at com.webobjects.eodistribution.common._EOReferenceRecordingCoder$_Decoder.decodeObject(_EOReferenceRecordingCoder.java:769)
43 + at com.webobjects.eodistribution.common._EOReferenceRecordingCoder.decodeObject(_EOReferenceRecordingCoder.java:611)
44 + at com.webobjects.eodistribution.common._EOReferenceRecordingCoder.decodeObjects(_EOReferenceRecordingCoder.java:649)
45 + at com.webobjects.foundation.NSArray.decodeObject(NSArray.java:1326)
46 + at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
47 + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
48 + at java.lang.reflect.Method.invoke(Method.java:585)
49 + at com.webobjects.eodistribution.common._EOReferenceRecordingCoder$_Decoder.decodeObject(_EOReferenceRecordingCoder.java:767)
50 + at com.webobjects.eodistribution.common._EOReferenceRecordingCoder.decodeObject(_EOReferenceRecordingCoder.java:611)
51 + at com.webobjects.eodistribution.common._EOServerReturnValue.decodeObject(_EOServerReturnValue.java:65)
52 + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
53 + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
54 + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
55 + at java.lang.reflect.Method.invoke(Method.java:585)
56 + ... (truncated for clarity)
57 +Caused by: java.lang.NoClassDefFoundError: com/company/myapp/common/MyClass
58 + at java.lang.ClassLoader.defineClass1(Native Method)
59 + at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
60 + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
61 + at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
62 + at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
63 + at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
64 + ... (truncated for clarity)
65 +
66 +{{/noformat}}
67 +
68 +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:
69 +
70 +{{noformat}}
71 +APPROOT/WebServerResources/Java/MyFramework.jar
72 +{{/noformat}}
73 +
74 +{{note title="Be Careful"}}
75 +
76 +Don't use the WOROOT path of the framework (WOROOT/Library/Frameworks/MyFramework.framework/WebServerResources/Java/MyFramework.jar)
77 + because this is only valid for the core WebObjects frameworks. Any other frameworks (yours, Wonder, etc) need to be located in the APPROOT.
78 +
79 +{{/note}}