SpringBoot項目打成war包後,運行>java -jar xxx.war時,報錯:FileNotFoundException: Jar URL cannot be resolved to absolute file path because it does not reside in the file system: war:file...
解決辦法:SpringBoot換成1.5.6就行了。
原因:這是SpringBoot低版本自身的問題。
SpringBoot項目打成war包後,運行>java -jar xxx.war時,報錯:FileNotFoundException: Jar URL cannot be resolved to absolute file path because it does not reside in the file system: war:file...
解決辦法:SpringBoot換成1.5.6就行了。
原因:這是SpringBoot低版本自身的問題。