Application启动报错Method SwaggerLauncherServiceImpl.launcher V is abstract

Blade 未结 1 849
暮鼓123
暮鼓123 剑童 2021-07-15 17:45

启动Application时报错。

堆栈信息如下:

Exception in thread "main" java.lang.AbstractMethodError: Method org/springblade/core/swagger/SwaggerLauncherServiceImpl.launcher(Lorg/springframework/boot/builder/SpringApplicationBuilder;Ljava/lang/String;Ljava/lang/String;Z)V is abstract

at org.springblade.core.swagger.SwaggerLauncherServiceImpl.launcher(SwaggerLauncherServiceImpl.java)

at org.springblade.core.launch.BladeApplication.lambda$createSpringApplicationBuilder$0(BladeApplication.java:115)

at java.util.ArrayList.forEach(ArrayList.java:1249)

at org.springblade.core.launch.BladeApplication.createSpringApplicationBuilder(BladeApplication.java:115)

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:49)

at com.vanke.ropbs.RopbsBaseApplication.main(RopbsBaseApplication.java:14)


该项目是从旧的springcloud整合进bladex中,启动类均按照bladex格式进行了修改。

BladeApplication.run("****", RopbsBaseApplication.class, args);


1条回答
  • 2021-07-18 14:21

    看报错是没有生成LauncherService的问题,看下有没有引入blade-auto的依赖

    另外商业版答疑规则见:https://sns.bladex.cn/article-14990.html

    请将账号邮箱修改为下单购买授权的qq邮箱便可咨询商业版疑问


    0 讨论(0)
提交回复