users@glassfish.java.net

RE: Problem with Glassfish: java.lang.UnsupportedClassVersionError

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Wed, 4 Jan 2012 07:07:16 -0500


1)determine the JDK of the aberrant class e.g. javap AbberantClass and run the JDK
OR2)download the source tree, compile, jar and run with the new deployables
HTH
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Date: Wed, 4 Jan 2012 11:10:32 +0100
> From: oleksiy.stashok_at_oracle.com
> To: users_at_glassfish.java.net
> Subject: Re: Problem with Glassfish: java.lang.UnsupportedClassVersionError
>
> Just my guess, probably you've checked that already...
> The mentioned class com.storeq.gwt.server.ServiceImpl was compiled with
> JDK newer than 1.6.0_26 you're running.
> Try to match those JDKs.
>
> WBR,
> Alexey.
>
> On 01/04/2012 10:17 AM, forums_at_java.net wrote:
> > Hi,
> >
> > I have problem with GWT application: after compiling and using
> > "Redeploy" at
> > Glassfish i have such error in logs:
> >
> > 
> >
> > [code]java.lang.UnsupportedClassVersionError: WEB9032: Class
> > com.storeq.gwt.server.ServiceImpl has unsupported major or minor version
> > numbers, which are greater than those found in the Java Runtime
> > Environment
> > version 1.6.0_26
> >
> > at
> > org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:943)
> >
> >
> > at
> > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1430)
> >
> >
> > at
> > org.apache.catalina.core.StandardWrapper.loadServletClass(StandardWrapper.java:1383)
> >
> >
> > at
> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1247)
> >
> >
> > at
> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1059)
> >
> >
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
> >
> >
> > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
> >
> >
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
> >
> >
> > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
> >
> > at
> > com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
> >
> >
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
> >
> >
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
> >
> >
> > at
> > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:322)
> >
> >
> > at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
> >
> >
> > at
> > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
> >
> >
> > at
> > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
> >
> > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
> >
> > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
> >
> > at
> > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> >
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
> >
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
> >
> >
> > at
> > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
> >
> > at
> > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> >
> > at
> > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> >
> >
> > at
> > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> >
> >
> > at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> >
> > at
> > com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> >
> >
> > at
> > com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> >
> >
> > at java.lang.Thread.run(Thread.java:662)
> >
> > |#][/code]
> >
> > Can anyone help me ? This error destroy our development cicle :-(
> >
> >
> > --
> >
> > [Message sent by forum member 'PlanetSoft']
> >
> > View Post: http://forums.java.net/node/879668
> >
> >
>