• 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: Can't get the Apple examples run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get the Apple examples run


  • Subject: Re: Can't get the Apple examples run
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 16 Apr 2008 10:15:03 -0700

I don't have the time to watch your movie. There is a very good chance that the Apple examples simply do not work with Wonder installed.

Look at your error message. It is complaining about JavaWOExtensions. This comes with WO and also comes with Wonder (Wonder has a fixed version). You probably have both of them installed.

Look for
/Library/WebObjects/lib/JavaWOExtensions.jar
/System/Library/Frameworks/JavaWOExtensions.framework
/Library/Frameworks/JavaWOExtensions.framework
~/Library/WebObjects/lib/JavaWOExtensions.jar

Chuck


On Apr 16, 2008, at 10:03 AM, Yung-Luen Lan wrote:

Maybe it'd be better to start a new thread instead of the original
"Ajax in ProjectWonder."
My problem is, on a newly installed machine, I still can't get the
Apple examples run.

I record my steps to a video:
http://bunny.idv.tw/~blueapple/WebObjects.m4v

Can someone point out what did I go wrong? Thanks.

Regards,
yllan

On Tue, Apr 15, 2008 at 8:57 PM, Yung-Luen Lan <email@hidden> wrote:
On Tue, Apr 15, 2008 at 2:37 AM, Chuck Hill <chill@global- village.net> wrote:
3. I found the examples come with Xcode / ProjectWonder is hard to run for a newbie. I can't get any example running until I saw this screencast:
http://www.wocommunity.org/podcasts/WO54_Examples.mov


Unfortunately, most of the example except the HelloWorld still can't run. Eclipse whining:

Caused by: java.lang.IllegalStateException: <com.webobjects.foundation.NSBundle> warning: There is already a unique instance for Bundle named 'JavaWOExtensions'. Use NSBundle.bundleForName(JavaWOExtensions) to access it: <com.webobjects.foundation.NSBundle name:'JavaWOExtensions' bundlePath:'/Library/WebObjects/lib/JavaWOExtensions.jar' packages:'( com.webobjects.woextensions )' 56 classes >

or

Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file can't be read.

That's very frustrated for a beginner. I mean, why don't Apple make it right at the first time? Examples are very useful for a beginner comparing to javadocs. We can't run the example by simply click the build and run button with standard installation, what's wrong with that?



This is your mistake. Somehow you have created the project so that the WO frameworks appear more than once on the command line. Do you have it installed in more than one place?

Thanks for your suggestions.

Uh, I have no idea what I've done wrong.
So today I reinstall everything in a new machine and record it to a
video: (Sorry I didn't speak English well)

http://bunny.idv.tw/~blueapple/WebObjects.m4v

Simply, I just install WebObjects, WOLips with Eclipse. I follow the
Getting Started Guide in the Examples/JavaWebObjects folder to 1)
install the database, 2) copy the project and 3) build the
frameworks.... wait, I can't build the frameworks!

After that, I import these projects into eclipse, configure the
building path according to screencast, try to run and still got the
same error message.

Could anyone point out what's the problem of me? Thanks!

Regards,
yllan

_______________________________________________
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


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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


  • Follow-Ups:
    • Re: Can't get the Apple examples run
      • From: Mike Schrag <email@hidden>
References: 
 >Can't get the Apple examples run (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: Can't get the Apple examples run
  • Next by Date: Upgraded to Leopard - what do I need to do?
  • Previous by thread: Can't get the Apple examples run
  • Next by thread: Re: Can't get the Apple examples run
  • Index(es):
    • Date
    • Thread