Ryan Wang 👍 Ryan Wang 👍 此版本不再支持 JRE 1.8,更新到此版本需要 JRE 11 或以上版本。#1184 https://docs.halo.run/install/upgrade 😳
Lcarus C:\halo>java -jar halo-1.4.3.jar 22:38:25.255 [main] ERROR org.springframework.boot.SpringApplication - Application run failed java.lang.NoClassDefFoundError: javax/naming/NamingException at org.springframework.web.context.support.StandardServletEnvironment.customizePropertySources(StandardServletEnvironment.java:87) at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:124) at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:45) at org.springframework.boot.SpringApplication.getOrCreateEnvironment(SpringApplication.java:479) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:359) at org.springframework.boot.SpringApplication.run(SpringApplication.java:320) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) at run.halo.app.Application.main(Application.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) windows安装,jre11,部署后启动报错如上显示。请各位有时间给予帮助,谢谢!
Lcarus C:\Users\Administrator>java -version 在补充一下JRE版本信息: java version "11.0.6" 2020-01-14 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)