本来项目运行的好好的,但是我想打包的时候就顺手clean了一下,结果就报错了。
报错如下:
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'achieveCompetitionController': Unsatisfied dependency expressed through field 'achieveCompetitionService';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'achieveCompetitionServiceImpl': Injection of resource dependencies failed;
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'achievementCompetitionDOMapper' defined in file [E:\last\SpringBoot\school\innovate-new\target\classes\hut\innovate\mapper\AchievementCompetitionDOMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean