代码生成完报错

Blade 未结 1 2225
guolin
guolin 剑童 2019-06-11 16:58

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxxServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.treps.collection.mapper.xxxMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
代码生成完报这个错。。。 


1条回答
  • 2019-06-11 17:01

    改了包名需要做一下配置,具体可参考bladex-biz的blade-demo工程


    image.png


    image.png


    image.png

    0 讨论(0)
提交回复