Hi Hugi,

I cannot see how imports can be the problem here. The reasons are
- All my java files are in the same 'default package'
- In my DirectAction.java there are no imports that mention "Application", and 
those that end with ".*;" should not cause confusion (com.webobjects..., 
java.io).
- This is no problem on my old Mac

/Jon

On 7. Apr, 2014, at 10:44, Hugi Thordarson wrote:

> Hi Jon.
> Check your imports, you're probably importing the wrong Application 
> class(com.apple.eawt.Application or some such).
> 
> Cheers,
> - hugi
> 
> 
> On 7.4.2014, at 08:40, Jon Kleiser <[email protected]> wrote:
> 
>> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to [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