首页 新闻 赞助 找找看

springboot无法启动项目

0
[已解决问题] 解决于 2019-08-15 09:13

Error creating bean with name 'functionLimiterInterceptor': Unsatisfied dependency expressed through field 'platformFunctionDataLimitViewService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'platformFunctionDataLimitViewService': Unsatisfied dependency expressed through field 'platformAuthorityDatalimitMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformAuthorityDatalimitMapper' defined in URL [jar:file:/E:/workspace/cpa_standard_v3_seazen/seazen/target/seazen/WEB-INF/lib/platform-3.1.jar!/com//standard/platform/repository/mapper/PlatformAuthorityDatalimitMapper.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com..standard.platform.repository.mapper.PlatformAuthorityDatalimitMapper]: Specified class is an interface

michael_Ly的主页 michael_Ly | 菜鸟二级 | 园豆:204
提问于:2019-08-14 17:10

各位帮忙看看随时待命

michael_Ly 4年前
< >
分享
最佳答案
0

创建名为“functionlimitterinterceptor”的bean时出错:通过字段“platformfunctiondatalimitviewsservice”表示的依赖项不满足,接口是不是方法没重写?

奖励园豆:5
heybreeze | 菜鸟二级 |园豆:215 | 2019-08-15 09:00

昨天下午找了许久,接口写了的,原因是 Failed to instantiate 深层理解这个报错的意思是有相同的Mapper接口,最终映射的spring容器中不同模块有相同的名称的类就会报冲突,但是这个错报的不是很明显,找了许久

michael_Ly | 园豆:204 (菜鸟二级) | 2019-08-15 09:12

感谢千万人中的你前来一同解决

michael_Ly | 园豆:204 (菜鸟二级) | 2019-08-15 09:12

@michael_Ly: 从 bean 就应该分析到这个大概

heybreeze | 园豆:215 (菜鸟二级) | 2019-08-15 11:16
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册