今天部署在阿里云的 solo 博客突然无法访问,好像是 JDK 版本的问题,有没有大佬知道怎么解决?
Solo is booting [ver=4.3.1, os=Linux, isDocker=true, inJar=false, luteAvailable=true, pid=1, runtimeDatabase=MYSQL, runtimeMode=PRODUCTION, jdbc.username=root, jdbc.URL=jdbc:mysql://127.0.0.1:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC]
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/zaxxer/hikari/HikariDataSource 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
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.b3log.latke.repository.jdbc.util.Connections.<clinit>(Connections.java:111)
at org.b3log.solo.service.InitService.initTables(InitService.java:165)
at org.b3log.solo.service.InitService_$$_jvstee_23._d7initTables(InitService_$$_jvstee_23.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:108)
at org.b3log.solo.service.InitService_$$_jvstee_23.initTables(InitService_$$_jvstee_23.java)
at org.b3log.solo.Server.main(Server.java:272)