启动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);
看报错是没有生成LauncherService的问题,看下有没有引入blade-auto的依赖
另外商业版答疑规则见:https://sns.bladex.cn/article-14990.html
请将账号邮箱修改为下单购买授权的qq邮箱便可咨询商业版疑问
扫一扫访问 Blade技术社区 移动端