spring+jpa+activiti,Tomcat启动出错

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'approvationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private main.java.org.beifeng.oa.dao.ApprovationRepository main.java.org.beifeng.oa.service.impl.ApprovationServiceImpl.approvationRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'approvationRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class main.java.org.beifeng.oa.entity.Approvation

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐