Error creating bean with name ‘batchSendController‘: Unsatisfied dependency expressed through field

错误原因,实体类错误。

Error creating bean with name 'batchSendController': Unsatisfied dependency expressed through field 'batchSendService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'batchSendService': Unsatisfied dependency expressed through field 'batchSendDao'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'batchSendDao' defined in file [E:\svn\code\sms-de\target\classes\com\newtouch\bcl\dao\BatchSendDao.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 [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.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 java.lang.NoClassDefFoundError: com/newtouch/bcl/entity/batchSend (wrong name: com/newtouch/bcl/entity/BatchSend)
    

猜你喜欢

转载自blog.csdn.net/wwwkm123/article/details/111192324