Re: App not starting in deployment
Re: App not starting in deployment
- Subject: Re: App not starting in deployment
- From: Pascal Robert <email@hidden>
- Date: Wed, 27 Oct 2010 18:34:33 -0400
Your app was probably compiled in Java 6 bytecode, but your server doesn't have Java 6. Preferences -> Compiler -> set "Use default compliance settings" to 1.5. That setting is per workspace, so if you create a new workspace, the new workspace will default back to Java 6 if you are on Snow Leopard.
> My application no longer launches in deployment.
> When launching from command line, I get the following error:
>
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
>
> This is a fully embedded (WO + Wonder) 5.3 application.
>
> The only thing I can think of that has changed since the last succesful deployment is that I have done the recent java update from Apple on my dev computer.
>
> Any idea?
>
> TIA
>
> JPM
>
> _______________________________________________
> 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
_______________________________________________
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