WOApplication cannot be cast to Application
WOApplication cannot be cast to Application
- Subject: WOApplication cannot be cast to Application
- From: Jon Kleiser <email@hidden>
- Date: Mon, 07 Apr 2014 08:40:41 +0000
- Thread-topic: WOApplication cannot be cast to Application
Hi,
I just try to run an old WO project on a "new" Mac with OSX 10.8.5. I installed Eclipse/WOLips using Golipse as described on this page <http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation>. However, I had to install WOLips separately, as it didn't seem to be installed by Golipse. Now I've got Eclipse 3.8.2 and WOLips37Stable (3.7.20140223.48, incl. Goodies), and I imported my project that I have run (for years) on another Mac (OSX 10.6.8) with Eclipse Indigo and WOLips/Goodies 3.7.10096. When I try to run my project on the "new" Mac, I get a ClassCastException (and "19 more") saying
com.webobjects.appserver.WOApplication cannot be cast to Application
... referring to this line in my DirectAction.java:
protected static final Application app = (Application)WOApplication.application();
Can anybody give me a hint about what's wrong in my new setup?
/Jon
_______________________________________________
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