之前框架使用SpringJPA为了解决session作用域问题,在web.xml配置了
EntityManage拦截
后来不使用了将JPA的jar删除了,项目启动就会提示 : No qualifying bean of type [javax.persistence.EntityManage]
后来将web.xml中的拦截删除,项目启动成功
注意一下为什么异常是No qualifying bean 而不是class not found 因为这个类是找的到的
No qualifying bean of type [javax.persistence.EntityManage] 异常
最新推荐文章于 2022-07-29 09:37:25 发布