请教一下,我 SOLO 之前使用的 3.8 的 jar 包运行在旧服务器上,,,
今年看着旧服务器马上要到期了,于是又弄了台新的服务器,然后想将 solo 转到新服务器上来。
本地使用 idea 运行发现一切正常,然后上传到服务器,就找不到 plugins 了,然后我解压生成的 jar 包。。。又在根目录下看到了对应的 plugins 文件夹。。。
就有点晕乎了,,求大神指导
[INFO ]-[2021-06-16 15:13:16]-[org.b3log.solo.util.Skins:73]: Loaded template from classpath
[ERROR]-[2021-06-16 15:13:16]-[org.b3log.latke.Latkes:926]: 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:922) [latke-core-3.4.10.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:116) [latke-core-3.4.10.jar:?]
at org.b3log.solo.Server.main(Server.java:297) [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:925) [latke-core-3.4.10.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:116) [latke-core-3.4.10.jar:?]
at org.b3log.solo.Server.main(Server.java:297) [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:925) [latke-core-3.4.10.jar:?]
at org.b3log.latke.plugin.PluginManager.load(PluginManager.java:116) [latke-core-3.4.10.jar:?]
at org.b3log.solo.Server.main(Server.java:297) [solo.jar:?]
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于