No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expec

Posted tfy1332

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expec相关的知识,希望对你有一定的参考价值。

2016-04-21 15:42:09,205 WARN  Exception encountered during context initialization - cancelling refresh attempt - [org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:487)]     
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public org.springframework.data.jpa.repository.JpaRepository com.rong.tms.service.impl.BaseServiceImpl.jpaRepository; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: 




No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: 


signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory



at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1692)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:465)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:415)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: public org.springframework.data.jpa.repository.JpaRepository com.rong.tms.service.impl.BaseServiceImpl.jpaRepository; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 56 more
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1061)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530)
... 58 more
2016-04-21 15:42:09,259 INFO  Closing JPA EntityManagerFactory for persistence unit 'SpringJpa' - [org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.destroy(AbstractEntityManagerFactoryBean.java:462)]     
2016-04-21 15:42:09,272 ERROR Context initialization failed - [org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331)]     
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public org.springframework.data.jpa.repository.JpaRepository com.rong.tms.service.impl.BaseServiceImpl.jpaRepository; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1692)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:465)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:415)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
21-Apr-2016 15:42:09.278 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
21-Apr-2016 15:42:09.279 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/tms-web] startup failed due to previous errors
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: public org.springframework.data.jpa.repository.JpaRepository com.rong.tms.service.impl.BaseServiceImpl.jpaRepository; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 56 more
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expected single matching bean but found 53: signRepository,enumRepository,truckDriverRepository,resourceRepository,meatureTypeRepository,materielTagRepository,invitationCodeRepository,reviseLogRepository,materielRepository,stowagePlanRepository,truckRepository,costBaseRepository,orgLogisticsRepository,shippingOrderRepository,formSettingRepository,areaRepository,carrierRepository,shippingOrderGoodsRepository,roleRepository,userRepository,recordResponseRepository,companyReponsitory,formDataRepository,relationerRepository,truckTypeRepository,operatorConsignorRepository,consignorMaterielRepository,freightRepository,formRepository,terminalUserRepository,operatorRepository,costAddRepository,preStowageRepository,materielTypeRepository,planGoodsRepository,pickAddressRepository,contractRepository,deliveryOrderRepository,orderGoodsRepository,attachFeeRepository,consignorRepository,preStowageTerminalRepository,traceRepository,companyRepository,truckCarrierRepository,receiveAddressRepository,measureReponsitory,stowageRepository,driverRepository,enumTypeRepository,receiptRepository,operatorOrgRepository,roleResourceReponsitory
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1061)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530)
... 58 more
21-Apr-2016 15:42:09.286 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [tms-web] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Apr-2016 15:42:09.287 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [tms-web] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@3fcccb1d]) and a value of type [java.util.Hashtable] (value []) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
[2016-04-21 03:42:09,323] Artifact tms-web:war exploded: Error during artifact deployment. See server log for details.

以上是关于No qualifying bean of type [org.springframework.data.jpa.repository.JpaRepository] is defined: expec的主要内容,如果未能解决你的问题,请参考以下文章

No qualifying bean of type报错问题处理

No qualifying bean of type '***' available: expected at least 1 bean which qualifies as auto

No qualifying bean of type ‘com.bruceliu.mapper.UserMapper‘

spring注入时报错::No qualifying bean of type 'xxx.xxMapper'

No qualifying bean of type ‘com.kkb.dao.*Mapper‘ available

No qualifying bean of type ‘com.kkb.dao.*Mapper‘ available