自动生成的代码,运行报错

Blade 未结 2 1216
aron030
aron030 剑童 2021-09-16 16:20

Error creating bean with name 'devInspectionController' defined in file [F:\IdeaProjects\SpringBlade\blade-service\blade-desk\target\classes\org\springblade\desk\controller\DevInspectionController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'devInspectionServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'devInspectionMapper' defined in file [F:\IdeaProjects\SpringBlade\blade-service\blade-desk\target\classes\org\springblade\desk\mapper\DevInspectionMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\IdeaProjects\SpringBlade\blade-service\blade-desk\target\classes\org\springblade\desk\mapper\DevInspectionMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [F:\IdeaProjects\SpringBlade\blade-service\blade-desk\target\classes\org\springblade\desk\mapper\DevInspectionMapper.xml]'. Cause: java.lang.IllegalStateException: No typehandler found for property inspectionReport


image.png

image.pngimage.png

2条回答
  • 2021-09-16 16:26

    我想问生成的代码没有启动程序么

    0 讨论(0)
  • 这个配置要成你的数据源

    TF[P451CG~ZG9NLMU7BY}_S.png

    0 讨论(0)
提交回复