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
创建名为“functionlimitterinterceptor”的bean时出错:通过字段“platformfunctiondatalimitviewsservice”表示的依赖项不满足,接口是不是方法没重写?
昨天下午找了许久,接口写了的,原因是 Failed to instantiate 深层理解这个报错的意思是有相同的Mapper接口,最终映射的spring容器中不同模块有相同的名称的类就会报冲突,但是这个错报的不是很明显,找了许久
感谢千万人中的你前来一同解决
@michael_Ly: 从 bean 就应该分析到这个大概
各位帮忙看看随时待命
– michael_Ly 5年前