• 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: NSBundle.pathURLForResourcePath Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBundle.pathURLForResourcePath Error


  • Subject: Re: NSBundle.pathURLForResourcePath Error
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 15 Oct 2008 09:04:48 -0400

My app works fine in development but when i move it to deployment i get an error: NSForwardException [java.lang.NoSuchMethodError] NSBundle.pathURLForResourcePath(Ljava/lang/String;)Ljava/net/URL;
NoSuchMethodError can only happen if you're building and deploying against different versions of the frameworks. Presumably you're developing against 5.3 but deploying against 5.2 or some other crazy mixture. Never mix versions between development and deployment .. It's just asking for problems to be caught at runtime.

ms

_______________________________________________
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: 
 >NSBundle.pathURLForResourcePath Error (From: mike deavila <email@hidden>)

  • Prev by Date: NSBundle.pathURLForResourcePath Error
  • Next by Date: Re: _rewriteURL is not called in Tomcat Deployment
  • Previous by thread: NSBundle.pathURLForResourcePath Error
  • Next by thread: ZHTML WebObject problem
  • Index(es):
    • Date
    • Thread