输入命令:java -Dthin.root=. -jar springStudy-0.0.1-SNAPSHOT.jar 错误如下: Exception in thread "main" java.lang.IllegalStateException: Cannot locate launcher: ./repository/org/springframework/boot/experimental/spring-boot-thin-launcher/1.0.27.RELEASE/spring-boot-thin-launcher-1.0.27.RELEASE-exec.jar
at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:131)
at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107)
pom.xml 里面把 1.0.27.RELEASE 改成 1.0.31.RELEASE 再 mvn clean package 就行了
Sign in to make a reply
半夏
输入命令:java -Dthin.root=. -jar springStudy-0.0.1-SNAPSHOT.jar
错误如下:
Exception in thread "main" java.lang.IllegalStateException: Cannot locate launcher: ./repository/org/springframework/boot/experimental/spring-boot-thin-launcher/1.0.27.RELEASE/spring-boot-thin-launcher-1.0.27.RELEASE-exec.jar
at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:131)
at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107)