RE: Help Required: Method propertyListWithPathURL not found error.
RE: Help Required: Method propertyListWithPathURL not found error.
- Subject: RE: Help Required: Method propertyListWithPathURL not found error.
- From: "VM, Sathish" <email@hidden>
- Date: Mon, 20 Jan 2014 18:26:49 +0000
- Thread-topic: Help Required: Method propertyListWithPathURL not found error.
Thanks for pointing out Pascal. I observed the method in question is indeed available in 5.4
http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/foundation/NSPropertyListSerialization.html
Thanks and Regards,
Sathish VM
Phone: +91 80 4329 2914 | Mobile +91 963 2280 371
-----Original Message-----
From: Pascal Robert [mailto:email@hidden]
Sent: Monday, January 20, 2014 3:23 PM
To: VM, Sathish
Cc: WebObjects Development
Subject: Re: Help Required: Method propertyListWithPathURL not found error.
Le 2014-01-20 à 02:00, VM, Sathish <email@hidden> a écrit :
> Hi all,
>
> Greetings.
>
> I've installed WebObjects 5.4.3 using WOInstaller.jar available at http://wocommunity.org/documents/tools/.
>
> I'm working for Ariba and trying to compile and run a test application. Ariba uses WO for rendering UI. I'm getting the error as below. I understand it basically says it is unable to find method propertyListWithPathURL in class NSPropertyListSerialization. When I looked at the methods of the class in the internet, this method is indeed available. (Reference http://www.spice-of-life.net/wodock/api/com/webobjects/foundation/NSPropertyListSerialization.html#propertyListWithPathURL(java.net.URL)
This is a the JavaDoc for WO 5.2. The JavaDoc for WO 5.4 is here:
http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/
> Could this be because of the type of the WO install that I'm using (developer versus deployment). How do I find which type of install that I'm having?
> Ariba encourages to use WO 5.1, but since that's really old, I'm using WO 5.4.3. I am assuming this won't be a problem since this method is also available in 5.4.3? Could this version difference be a source of this issue?
>
> java.lang.NoSuchMethodError: com.webobjects.foundation.NSPropertyListSerialization.propertyListWithPathURL(Ljava/net/URL;)Ljava/lang/Object;
> at com.webobjects.foundation.NSBundle.initInfoDictionary(NSBundle.java:2349)
> at com.webobjects.foundation.NSBundle.CreateBundleWithPath(NSBundle.java:818)
> at com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar(NSBundle.java:498)
> at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:745)
> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:373)
> at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
> at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
> at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:2759)
> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:351)
> at ariba.ui.woadaptor.WXApplication.<init>(WXApplication.java:66)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:357)
> at java.lang.Class.newInstance(Class.java:310)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:253)
> at ariba.ui.woadaptor.WXApplication.main(WXApplication.java:35)
> at ariba.ui.woadaptor.AWWOApplication.main(AWWOApplication.java:79)
>
>
> Thanks and Regards,
>
> Sathish VM
> Phone: +91 80 4329 2914 | Mobile +91 963 2280 371
>
>
> -----Original Message-----
> From: webobjects-dev-bounces+sathish.vm=email@hidden [mailto:webobjects-dev-bounces+sathish.vm=email@hidden] On Behalf Of email@hidden
> Sent: Monday, January 20, 2014 11:42 AM
> To: VM, Sathish
> Subject: Welcome to the "Webobjects-dev" mailing list
>
> Welcome to the email@hidden mailing list! This list
> is to discuss development of WebObjects applications including tools,
> software, and techniques.
>
> Please read the Mailing List Terms and Conditions we ask every list
> member to follow located at http://lists.apple.com/tc.html. If you are
> unwilling to abide by our rules, please do not subscribe.
>
> If you have questions or problems regarding the lists, please check
> our Frequently Asked Questions page at http://lists.apple.com/faq/. If
> this doesn't answer your question, please contact us for help at
> email@hidden and we'll help you get your problem
> resolved.
>
> To post to this list, send your message to:
>
> email@hidden
>
> General information about the mailing list is at:
>
> https://lists.apple.com/mailman/listinfo/webobjects-dev
>
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>
>
>
> You can also make such adjustments via email by sending a message to:
>
> email@hidden
>
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
>
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe without confirmation. It is:
>
> iloveindia
>
> Normally, Mailman will remind you of your lists.apple.com mailing list
> passwords once every month, although you can disable this if you
> prefer. This reminder will also include instructions on how to
> unsubscribe or change your account options. There is also a button on
> your options page that will email your current password to you.
> _______________________________________________
> 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
_______________________________________________
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