Solo 采用 jar 部署的时候,设置 https 证书后总是 502

采用 jar 部署的时候,设置 https 证书后总是 502

并且还报以下错误,敢问哪位大哥能给看下是什么原因

[ERROR]-[2020-06-21 21:12:23]-[org.b3log.latke.Latkes:959]: Read file names [path=/plugins] failed
java.lang.NullPointerException: null
at java.io.FilterInputStream.read(FilterInputStream.java:133) ~[?:1.8.0_121]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[?:1.8.0_121]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[?:1.8.0_121]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:1.8.0_121]
at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[?:1.8.0_121]
at java.io.BufferedReader.fill(BufferedReader.java:161) ~[?:1.8.0_121]
at java.io.BufferedReader.readLine(BufferedReader.java:324) ~[?:1.8.0_121]
at java.io.BufferedReader.readLine(BufferedReader.java:389) ~[?:1.8.0_121]
at org.b3log.latke.Latkes.listFiles(Latkes.java:955) [solo.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:124) [solo.jar:?]
at org.b3log.solo.Server.main(Server.java:304) [solo.jar:?]
Suppressed: java.lang.NullPointerException
at java.io.FilterInputStream.close(FilterInputStream.java:181) ~[?:1.8.0_121]
at sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream.close(JarURLConnection.java:108) ~[?:1.8.0_121]
at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:378) ~[?:1.8.0_121]
at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:193) ~[?:1.8.0_121]
at java.io.InputStreamReader.close(InputStreamReader.java:199) ~[?:1.8.0_121]
at java.io.BufferedReader.close(BufferedReader.java:525) ~[?:1.8.0_121]
at org.b3log.latke.Latkes.listFiles(Latkes.java:958) [solo.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:124) [solo.jar:?]
at org.b3log.solo.Server.main(Server.java:304) [solo.jar:?]
Suppressed: java.lang.NullPointerException
at java.io.FilterInputStream.close(FilterInputStream.java:181) ~[?:1.8.0_121]
at sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream.close(JarURLConnection.java:108) ~[?:1.8.0_121]
at org.b3log.latke.Latkes.listFiles(Latkes.java:958) [solo.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:124) [solo.jar:?]
at org.b3log.solo.Server.main(Server.java:304) [solo.jar:?]
[INFO ]-[2020-06-21 21:12:23]-[org.b3log.solo.Server:307]: Solo is running

赞助商 我要投放

1 回帖
请输入回帖内容 ...
  • 88250

    不推荐使用打包 jar,尽量用 Docker 部署吧,按照文档来。