プロジェクト

全般

プロフィール

バグ #558

UnsupportedClassVersionError がスローされて Java Servlet が起動しない

みぞ @mizo0203 さんが約5年前に追加. 約5年前に更新.

ステータス:
完了
優先度:
通常
対象バージョン:
開始日:
2019/11/23
期日:
進捗率:

100%

予定工数:

説明

# cat /usr/share/tomcat/logs/localhost.2019-11-23.log   
Nov 23, 2019 8:18:24 AM org.apache.catalina.core.StandardHostValve invoke
SEVERE: Exception Processing /fastest-finger-first/challenge
java.lang.UnsupportedClassVersionError: com/mizo0203/fastest/finger/first/ChallengeServlet has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class com.mizo0203.fastest.finger.first.ChallengeServlet)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3209)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1373)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1861)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
    at org.apache.catalina.core.StandardWrapper.servletSecurityAnnotationScan(StandardWrapper.java:1211)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:495)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)

他の形式にエクスポート: Atom PDF