javaFx+SpringBoot+(de.roskenet:springboot-javafx-support:2.1.6)开发。
直接在idea中运行正常,但打包成jar,之后使用java -jar xxx.jar启动报错,发现日志中有:
java.lang.IllegalArgumentException: No auto configuration classes found in META-INF/spring.factories.
以及
at de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport.lambda$init$1(AbstractJavaFxApplicationSupport.java:124)
具体日志为:
java.lang.IllegalArgumentException: No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure that file is correct.
at org.springframework.util.Assert.notEmpty(Assert.java:470)
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getCandidateConfigurations(AutoConfigurationImportSelector.java:173)
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getAutoConfigurationE
461



被折叠的 条评论
为什么被折叠?



