Page 1 of 1

Cannot launch Java application - Error after 4.6 install

PostPosted: Mon Dec 19, 2011 12:15 am
by pashko
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

Re: Cannot launch Java application - Error after 4.6 install

PostPosted: Mon Dec 19, 2011 1:57 am
by pashko
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