installation failure - java.lang.UnsupportedClassVersionError

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

installation failure - java.lang.UnsupportedClassVersionError

Devin A. Bougie
Hi, All.  We're seeing the following error when trying to deploy webprotege-2.6.0 on tomcat6 on SL6.  Any help would be greatly appreciated.

Many thanks,
Devin

------
May 02, 2017 3:10:58 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webprotege-2.6.0.war
May 02, 2017 3:11:00 PM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/webprotege-2.6.0,J2EEApplication=none,J2EEServer=none
May 02, 2017 3:11:00 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive webprotege-2.6.0.war
java.lang.UnsupportedClassVersionError: edu/stanford/bmir/protege/web/server/WebProtegeInitializer : Unsupported major.minor version 52.0 (unable to load class edu.stanford.bmir.protege.web.server.WebProtegeInitializer)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2334)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:976)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1450)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
        at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
        at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:294)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1046)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4650)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:745)
------
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: installation failure - java.lang.UnsupportedClassVersionError

Tania Tudorache
WebProtege requires Java 8, and it seems that the server does not have it installed.

You can check the version installed by typing in the console:
java --version

Cheers,
Tania

From: protege-user <[hidden email]> on behalf of Devin A. Bougie <[hidden email]>
Sent: Tuesday, May 2, 2017 12:19:26 PM
To: [hidden email]
Subject: [protege-user] installation failure - java.lang.UnsupportedClassVersionError
 
Hi, All.  We're seeing the following error when trying to deploy webprotege-2.6.0 on tomcat6 on SL6.  Any help would be greatly appreciated.

Many thanks,
Devin

------
May 02, 2017 3:10:58 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webprotege-2.6.0.war
May 02, 2017 3:11:00 PM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/webprotege-2.6.0,J2EEApplication=none,J2EEServer=none
May 02, 2017 3:11:00 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive webprotege-2.6.0.war
java.lang.UnsupportedClassVersionError: edu/stanford/bmir/protege/web/server/WebProtegeInitializer : Unsupported major.minor version 52.0 (unable to load class edu.stanford.bmir.protege.web.server.WebProtegeInitializer)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2334)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:976)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1450)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
        at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
        at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
        at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:294)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1046)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4650)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:745)
------
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: installation failure - java.lang.UnsupportedClassVersionError

Devin A. Bougie
On May 2, 2017, at 6:04 PM, Tania Tudorache <[hidden email]> wrote:
> WebProtege requires Java 8, and it seems that the server does not have it installed.

Thanks, Tania!  After updating our tomcat server to use java 8, it looks like things are working.

Devin

>
> You can check the version installed by typing in the console:
> java --version
>
> Cheers,
> Tania
> From: protege-user <[hidden email]> on behalf of Devin A. Bougie <[hidden email]>
> Sent: Tuesday, May 2, 2017 12:19:26 PM
> To: [hidden email]
> Subject: [protege-user] installation failure - java.lang.UnsupportedClassVersionError
>  
> Hi, All.  We're seeing the following error when trying to deploy webprotege-2.6.0 on tomcat6 on SL6.  Any help would be greatly appreciated.
>
> Many thanks,
> Devin
>
> ------
> May 02, 2017 3:10:58 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive webprotege-2.6.0.war
> May 02, 2017 3:11:00 PM org.apache.tomcat.util.modeler.Registry registerComponent
> SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/webprotege-2.6.0,J2EEApplication=none,J2EEServer=none
> May 02, 2017 3:11:00 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive webprotege-2.6.0.war
> java.lang.UnsupportedClassVersionError: edu/stanford/bmir/protege/web/server/WebProtegeInitializer : Unsupported major.minor version 52.0 (unable to load class edu.stanford.bmir.protege.web.server.WebProtegeInitializer)
>         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2334)
>         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:976)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1450)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>         at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
>         at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
>         at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
>         at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:294)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1046)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4650)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
>         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
>         at java.lang.Thread.run(Thread.java:745)
> ------
> _______________________________________________
> protege-user mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-user
> _______________________________________________
> protege-user mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: installation failure - java.lang.UnsupportedClassVersionError

Tania Tudorache

Great to hear!


Tania


From: protege-user <[hidden email]> on behalf of Devin A. Bougie <[hidden email]>
Sent: Wednesday, May 3, 2017 12:36:29 PM
To: User support for WebProtege and Protege Desktop
Subject: Re: [protege-user] installation failure - java.lang.UnsupportedClassVersionError
 
On May 2, 2017, at 6:04 PM, Tania Tudorache <[hidden email]> wrote:
> WebProtege requires Java 8, and it seems that the server does not have it installed.

Thanks, Tania!  After updating our tomcat server to use java 8, it looks like things are working.

Devin

>
> You can check the version installed by typing in the console:
> java --version
>
> Cheers,
> Tania
> From: protege-user <[hidden email]> on behalf of Devin A. Bougie <[hidden email]>
> Sent: Tuesday, May 2, 2017 12:19:26 PM
> To: [hidden email]
> Subject: [protege-user] installation failure - java.lang.UnsupportedClassVersionError

> Hi, All.  We're seeing the following error when trying to deploy webprotege-2.6.0 on tomcat6 on SL6.  Any help would be greatly appreciated.
>
> Many thanks,
> Devin
>
> ------
> May 02, 2017 3:10:58 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive webprotege-2.6.0.war
> May 02, 2017 3:11:00 PM org.apache.tomcat.util.modeler.Registry registerComponent
> SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/webprotege-2.6.0,J2EEApplication=none,J2EEServer=none
> May 02, 2017 3:11:00 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive webprotege-2.6.0.war
> java.lang.UnsupportedClassVersionError: edu/stanford/bmir/protege/web/server/WebProtegeInitializer : Unsupported major.minor version 52.0 (unable to load class edu.stanford.bmir.protege.web.server.WebProtegeInitializer)
>         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2334)
>         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:976)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1450)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
>         at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
>         at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
>         at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
>         at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:294)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1046)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4650)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
>         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
>         at java.lang.Thread.run(Thread.java:745)
> ------
> _______________________________________________
> protege-user mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-user
> _______________________________________________
> protege-user mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user