构建微服务项目,子服务启动总是报错

Blade 未结 2 1195
qiuyue520
qiuyue520 剑童 2021-06-03 15:58
悬赏:5

图片_20210603155753.png


Exception in thread "main" java.util.ServiceConfigurationError: org.springblade.core.launch.service.LauncherService: Provider com.example.demo.launcher.DemoLauncherServiceImpl not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:239)
    at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at java.lang.Iterable.forEach(Iterable.java:74)
    at org.springblade.core.launch.BladeApplication.createSpringApplicationBuilder(BladeApplication.java:106)
    at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:48)
    at org.springblade.demo.DemoApplication.main(DemoApplication.java:34)

Process finished with exit code 1

2条回答
  • 2021-06-03 22:04

    看下这个帖子的回答:https://sns.bladex.cn/q-116.html

    0 讨论(1)
  • 2021-07-30 14:02

    我也遇到了这个问题,但看了那个帖子复制META-INF文件夹之后并没解决

    0 讨论(0)
提交回复