On Nov 1, 2007, at 9:15 AM, Thierry Kramis wrote:

I couldn't follow all your discussions lately, so pardon me if anyone asked the same question before.

I've downloaded newest Wonder & WOLips Builds and installed it on Leopard alongside WO 5.4. When I create a new Wonder application and run it without any modfications after creation I get:

Exception in thread "WorkerThread0" com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodError] com.webobjects.appserver.WOApplication.createRequest(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;Lcom/webobjects/ foundation/NSDictionary;Lcom/webobjects/foundation/NSData;Lcom/ webobjects/foundation/NSDictionary;)Lcom/webobjects/appserver/ WORequest;:java.lang.NoSuchMethodError:

WOApplication's createRequest() method signature has changed for reasons that aren't obvious to me (i.e., the use of Map instead of NSDictionary arguments):

WO 5.3: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary someInfo)

WO 5.4: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, Map<String,? extends List<String>> someHeaders, NSData aContent, Map<String,Object> someInfo)

If you're overriding createRequest(), you must modify your override to conform with WO 5.4. If this exception is raised in Wonder code, then the createRequest() invocation in the Wonder code must be updated to the WO 5.4 method signature. I believe that Wonder is currently being updated to deal with this, but I don't know when a Leopard version will be available if it isn't already.

Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to