• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Starting new Wonder Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting new Wonder Application


  • Subject: Re: Starting new Wonder Application
  • From: Art Isbell <email@hidden>
  • Date: Thu, 1 Nov 2007 09:48:27 -1000

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Starting new Wonder Application (From: Thierry Kramis <email@hidden>)

  • Prev by Date: Re: WOLips nightly: generated SQL missing spaces
  • Next by Date: Re: JavaEOGenerator
  • Previous by thread: Starting new Wonder Application
  • Next by thread: Re: Starting new Wonder Application
  • Index(es):
    • Date
    • Thread