Thanks Amedeo. I think you’re right.

I replaced jar file that has this class, with the jar file from WO 5.1, and the 
program compiled fine. So I guess there is a difference in signatures between 
5.1 and 5.4.3.. I’ve to check later. But now, this error is resolved!

Thanks and Regards,

Sathish VM
Phone: +91 80 4329 2914 | Mobile +91 963 2280 371


From: Amedeo Mantica [mailto:[email protected]]
Sent: Monday, January 20, 2014 2:47 PM
To: VM, Sathish
Cc: [email protected]
Subject: Re: Help Required: Method propertyListWithPathURL not found error.

May be the method exists but with different signature ( same method name, but 
different attributes )

Sent from my iPhone

On 20/gen/2014, at 08:00, "VM, Sathish" 
<[email protected]<mailto:[email protected]>> wrote:

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)



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: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf 
Of 
[email protected]<mailto:[email protected]>
Sent: Monday, January 20, 2014 11:42 AM
To: VM, Sathish
Subject: Welcome to the "Webobjects-dev" mailing list



Welcome to the 
[email protected]<mailto:[email protected]> 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 protected]<mailto:[email protected]> and we'll help 
you get your problem

resolved.



To post to this list, send your message to:



 [email protected]<mailto:[email protected]>



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:



  https://lists.apple.com/mailman/options/webobjects-dev/sathish.vm%40sap.com





You can also make such adjustments via email by sending a message to:



  
[email protected]<mailto:[email protected]>



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<http://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 protected]<mailto:[email protected]>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/amedeomantica%40me.com

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

This email sent to [email protected]

Reply via email to