按照步骤生成新服务模块后,项目编译时报错 #84
Replies: 1 comment
-
看下是导包导错了,还是idea 误警告 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
会员版按照视频步骤,利用lamp-generator-plus-master/src/test/java/cloud/testinitproject.java文件生成新的服务模块,之后按照步骤,在pom.xml文件中添加了module,在nacos中添加了相关配置文件,在gateway配置文件中添加完成,之后编译整个项目报错'InitDatabaseOnStarted(com.tangyh.lamp.tenant.service.DatasourceInitDataSourceService)' in 'com.tangyh.lamp.tenant.context.InitDatabaseOnStarted' cannot be applied to '(com.tangyh.lamp.tenant.strategy.impl.DatasourceInitSystemStrategy)'。
截图如下:
Beta Was this translation helpful? Give feedback.
All reactions