Cannot launch Java application - Error after 4.6 install

Need help? Post your questions here.

Moderator: moderators

Cannot launch Java application - Error after 4.6 install

Postby pashko » Mon Dec 19, 2011 12:15 am

Hello... I am running os x 10.5.8 and install seemed to work fine of new version, but when I try and start Subsonic, I receive this error:

Cannot launch Java application

Uncaught exception in main method: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controller' defined in class path resource [applicationContext-mac.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.sourceforge.subsonic.booter.mac.SubsonicController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: java/awt/TrayIcon

And the app won't start. I went ahead and deleted and removed traces of Subsonic and tried to reinstall, but with no luck. Any suggestions??

Thanks,
Paul
pashko
 
Posts: 5
Joined: Sun Dec 05, 2010 6:55 pm

Re: Cannot launch Java application - Error after 4.6 install

Postby pashko » Mon Dec 19, 2011 1:57 am

I tried starting from command line and at first I got some issues that turned out to be permissions on folders. After I fixed that, I am now able to start from command line, but when I start it from the "Subsonic" link from my Applications folder, I still get the original error of:

Cannot launch Java application

Uncaught exception in main method: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controller' defined in class path resource [applicationContext-mac.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.sourceforge.subsonic.booter.mac.SubsonicController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: java/awt/TrayIcon

Any suggestions would be appreciated.

Thanks,
Paul
pashko
 
Posts: 5
Joined: Sun Dec 05, 2010 6:55 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 46 guests