xxxRepository报异常

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘commentServiceImpl’: Unsatisfied dependency expressed through field ‘commentRepository’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘commentRepository’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract java.util.List com.lrm.dao.CommentRepository.findByBlogIdAAndParentCommentNull(java.lang.Long,org.springframework.data.domain.Sort)! No property a found for type Long! Traversed path: Comment.blog.id.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor A u t o w i r e d F i e l d E l e m e n t . i n j e c t ( A u t o w i r e d A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 643 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . I n j e c t i o n M e t a d a t a . i n j e c t ( I n j e c t i o n M e t a d a t a . j a v a : 130 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . A u t o w i r e d A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s P r o p e r t i e s ( A u t o w i r e d A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 399 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . p o p u l a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1422 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . d o C r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 594 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . c r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 517 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . l a m b d a AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.lambdadoGetBean 0 ( A b s t r a c t B e a n F a c t o r y . j a v a : 323 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 321 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 202 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . p r e I n s t a n t i a t e S i n g l e t o n s ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 882 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . f i n i s h B e a n F a c t o r y I n i t i a l i z a t i o n ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 878 )   [ s p r i n g − c o n t e x t − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . r e f r e s h ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 550 )   [ s p r i n g − c o n t e x t − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . w e b . s e r v l e t . c o n t e x t . S e r v l e t W e b S e r v e r A p p l i c a t i o n C o n t e x t . r e f r e s h ( S e r v l e t W e b S e r v e r A p p l i c a t i o n C o n t e x t . j a v a : 141 )   [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h ( S p r i n g A p p l i c a t i o n . j a v a : 747 ) [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h C o n t e x t ( S p r i n g A p p l i c a t i o n . j a v a : 397 ) [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 315 ) [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1226 ) [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 1215 ) [ s p r i n g − b o o t − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t c o m . l r m . B l g A p p l i c a t i o n . m a i n ( B l g A p p l i c a t i o n . j a v a : 10 ) [ c l a s s e s / : n a ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d )   [ n a : 1.8. 0 1 31 ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 )   [ n a : 1.8. 0 1 31 ] a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 )   [ n a : 1.8. 0 1 31 ] a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . b o o t . d e v t o o l s . r e s t a r t . R e s t a r t L a u n c h e r . r u n ( R e s t a r t L a u n c h e r . j a v a : 49 ) [ s p r i n g − b o o t − d e v t o o l s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e ′ c o m m e n t R e p o s i t o r y ′ : I n v o c a t i o n o f i n i t m e t h o d f a i l e d ; n e s t e d e x c e p t i o n i s j a v a . l a n g . I l l e g a l A r g u m e n t E x c e p t i o n : F a i l e d t o c r e a t e q u e r y f o r m e t h o d p u b l i c a b s t r a c t j a v a . u t i l . L i s t c o m . l r m . d a o . C o m m e n t R e p o s i t o r y . f i n d B y B l o g I d A A n d P a r e n t C o m m e n t N u l l ( j a v a . l a n g . L o n g , o r g . s p r i n g f r a m e w o r k . d a t a . d o m a i n . S o r t ) ! N o p r o p e r t y a f o u n d f o r t y p e L o n g ! T r a v e r s e d p a t h : C o m m e n t . b l o g . i d . a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . i n i t i a l i z e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1796 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . d o C r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 595 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . c r e a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 517 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . l a m b d a 0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:882) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] at com.lrm.BlgApplication.main(BlgApplication.java:10) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.2.6.RELEASE.jar:2.2.6.RELEASE] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract java.util.List com.lrm.dao.CommentRepository.findByBlogIdAAndParentCommentNull(java.lang.Long,org.springframework.data.domain.Sort)! No property a found for type Long! Traversed path: Comment.blog.id. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda 0(AbstractBeanFactory.java:323) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:882) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) [springcontext5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) [springcontext5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) [springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)[springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)[springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:315)[springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1226)[springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1215)[springboot2.2.6.RELEASE.jar:2.2.6.RELEASE]atcom.lrm.BlgApplication.main(BlgApplication.java:10)[classes/:na]atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) [na:1.8.0131]atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [na:1.8.0131]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0131]atjava.lang.reflect.Method.invoke(Method.java:498) [na:1.8.0131]atorg.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[springbootdevtools2.2.6.RELEASE.jar:2.2.6.RELEASE]Causedby:org.springframework.beans.factory.BeanCreationException:ErrorcreatingbeanwithnamecommentRepository:Invocationofinitmethodfailed;nestedexceptionisjava.lang.IllegalArgumentException:Failedtocreatequeryformethodpublicabstractjava.util.Listcom.lrm.dao.CommentRepository.findByBlogIdAAndParentCommentNull(java.lang.Long,org.springframework.data.domain.Sort)!NopropertyafoundfortypeLong!Traversedpath:Comment.blog.id.atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.lambdadoGetBean 0 ( A b s t r a c t B e a n F a c t o r y . j a v a : 323 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 222 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 321 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 202 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . c o n f i g . D e p e n d e n c y D e s c r i p t o r . r e s o l v e C a n d i d a t e ( D e p e n d e n c y D e s c r i p t o r . j a v a : 276 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . d o R e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1290 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1210 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . A u t o w i r e d A n n o t a t i o n B e a n P o s t P r o c e s s o r 0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1290) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1210) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor 0(AbstractBeanFactory.java:323) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1290) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1210) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorAutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
… 24 common frames omitted
Caused by: java.lang.IllegalArgumentException: Failed to create query for method public abstract java.util.List com.lrm.dao.CommentRepository.findByBlogIdAAndParentCommentNull(java.lang.Long,org.springframework.data.domain.Sort)! No property a found for type Long! Traversed path: Comment.blog.id.
at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:96) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy C r e a t e Q u e r y L o o k u p S t r a t e g y . r e s o l v e Q u e r y ( J p a Q u e r y L o o k u p S t r a t e g y . j a v a : 103 )   [ s p r i n g − d a t a − j p a − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . j p a . r e p o s i t o r y . q u e r y . J p a Q u e r y L o o k u p S t r a t e g y CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:103) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:103) [springdatajpa2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.jpa.repository.query.JpaQueryLookupStrategyCreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:209) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy A b s t r a c t Q u e r y L o o k u p S t r a t e g y . r e s o l v e Q u e r y ( J p a Q u e r y L o o k u p S t r a t e g y . j a v a : 78 )   [ s p r i n g − d a t a − j p a − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . c o r e . s u p p o r t . R e p o s i t o r y F a c t o r y S u p p o r t AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:78) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactorySupport AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:78) [springdatajpa2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.repository.core.support.RepositoryFactorySupportQueryExecutorMethodInterceptor.lookupQuery(RepositoryFactorySupport.java:574) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactorySupport Q u e r y E x e c u t o r M e t h o d I n t e r c e p t o r . l a m b d a QueryExecutorMethodInterceptor.lambda QueryExecutorMethodInterceptor.lambdamapMethodsToQuery$1(RepositoryFactorySupport.java:567) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at java.util.stream.ReferencePipeline$3 1. a c c e p t ( R e f e r e n c e P i p e l i n e . j a v a : 193 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . I t e r a t o r . f o r E a c h R e m a i n i n g ( I t e r a t o r . j a v a : 116 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . C o l l e c t i o n s 1.accept(ReferencePipeline.java:193) ~[na:1.8.0_131] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[na:1.8.0_131] at java.util.Collections 1.accept(ReferencePipeline.java:193) [na:1.8.0131]atjava.util.Iterator.forEachRemaining(Iterator.java:116) [na:1.8.0131]atjava.util.CollectionsUnmodifiableCollection 1. f o r E a c h R e m a i n i n g ( C o l l e c t i o n s . j a v a : 1049 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . S p l i t e r a t o r s 1.forEachRemaining(Collections.java:1049) ~[na:1.8.0_131] at java.util.Spliterators 1.forEachRemaining(Collections.java:1049) [na:1.8.0131]atjava.util.SpliteratorsIteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_131]
at java.util.stream.ReduceOps R e d u c e O p . e v a l u a t e S e q u e n t i a l ( R e d u c e O p s . j a v a : 708 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . A b s t r a c t P i p e l i n e . e v a l u a t e ( A b s t r a c t P i p e l i n e . j a v a : 234 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . R e f e r e n c e P i p e l i n e . c o l l e c t ( R e f e r e n c e P i p e l i n e . j a v a : 499 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . c o r e . s u p p o r t . R e p o s i t o r y F a c t o r y S u p p o r t ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_131] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_131] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_131] at org.springframework.data.repository.core.support.RepositoryFactorySupport ReduceOp.evaluateSequential(ReduceOps.java:708) [na:1.8.0131]atjava.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [na:1.8.0131]atjava.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [na:1.8.0131]atorg.springframework.data.repository.core.support.RepositoryFactorySupportQueryExecutorMethodInterceptor.mapMethodsToQuery(RepositoryFactorySupport.java:569) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactorySupport Q u e r y E x e c u t o r M e t h o d I n t e r c e p t o r . l a m b d a QueryExecutorMethodInterceptor.lambda QueryExecutorMethodInterceptor.lambdanew 0 ( R e p o s i t o r y F a c t o r y S u p p o r t . j a v a : 559 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t j a v a . u t i l . O p t i o n a l . m a p ( O p t i o n a l . j a v a : 215 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . c o r e . s u p p o r t . R e p o s i t o r y F a c t o r y S u p p o r t 0(RepositoryFactorySupport.java:559) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at java.util.Optional.map(Optional.java:215) ~[na:1.8.0_131] at org.springframework.data.repository.core.support.RepositoryFactorySupport 0(RepositoryFactorySupport.java:559) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atjava.util.Optional.map(Optional.java:215) [na:1.8.0131]atorg.springframework.data.repository.core.support.RepositoryFactorySupportQueryExecutorMethodInterceptor.(RepositoryFactorySupport.java:559) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:332) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet 5 ( R e p o s i t o r y F a c t o r y B e a n S u p p o r t . j a v a : 297 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . u t i l . L a z y . g e t N u l l a b l e ( L a z y . j a v a : 212 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . u t i l . L a z y . g e t ( L a z y . j a v a : 94 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . c o r e . s u p p o r t . R e p o s i t o r y F a c t o r y B e a n S u p p o r t . a f t e r P r o p e r t i e s S e t ( R e p o s i t o r y F a c t o r y B e a n S u p p o r t . j a v a : 300 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . j p a . r e p o s i t o r y . s u p p o r t . J p a R e p o s i t o r y F a c t o r y B e a n . a f t e r P r o p e r t i e s S e t ( J p a R e p o s i t o r y F a c t o r y B e a n . j a v a : 121 )   [ s p r i n g − d a t a − j p a − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . i n v o k e I n i t M e t h o d s ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1855 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . i n i t i a l i z e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1792 )   [ s p r i n g − b e a n s − 5.2.5. R E L E A S E . j a r : 5.2.5. R E L E A S E ] . . . 34 c o m m o n f r a m e s o m i t t e d C a u s e d b y : o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y R e f e r e n c e E x c e p t i o n : N o p r o p e r t y a f o u n d f o r t y p e L o n g ! T r a v e r s e d p a t h : C o m m e n t . b l o g . i d . a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . < i n i t > ( P r o p e r t y P a t h . j a v a : 94 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 382 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 358 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 392 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 416 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 358 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 392 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 416 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 416 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . c r e a t e ( P r o p e r t y P a t h . j a v a : 358 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . l a m b d a 5(RepositoryFactoryBeanSupport.java:297) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.util.Lazy.getNullable(Lazy.java:212) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.util.Lazy.get(Lazy.java:94) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:121) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1855) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1792) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE] ... 34 common frames omitted Caused by: org.springframework.data.mapping.PropertyReferenceException: No property a found for type Long! Traversed path: Comment.blog.id. at org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:94) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:382) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:392) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:392) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.lambda 5(RepositoryFactoryBeanSupport.java:297) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.util.Lazy.getNullable(Lazy.java:212) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.util.Lazy.get(Lazy.java:94) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:121) [springdatajpa2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1855) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1792) [springbeans5.2.5.RELEASE.jar:5.2.5.RELEASE]...34commonframesomittedCausedby:org.springframework.data.mapping.PropertyReferenceException:NopropertyafoundfortypeLong!Traversedpath:Comment.blog.id.atorg.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:94) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:382) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:392) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:392) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:416) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.create(PropertyPath.java:358) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.lambdafrom 0 ( P r o p e r t y P a t h . j a v a : 311 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t j a v a . u t i l . c o n c u r r e n t . C o n c u r r e n t M a p . c o m p u t e I f A b s e n t ( C o n c u r r e n t M a p . j a v a : 324 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . f r o m ( P r o p e r t y P a t h . j a v a : 293 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . m a p p i n g . P r o p e r t y P a t h . f r o m ( P r o p e r t y P a t h . j a v a : 276 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . q u e r y . p a r s e r . P a r t . < i n i t > ( P a r t . j a v a : 82 )   [ s p r i n g − d a t a − c o m m o n s − 2.2.6. R E L E A S E . j a r : 2.2.6. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . q u e r y . p a r s e r . P a r t T r e e 0(PropertyPath.java:311) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324) ~[na:1.8.0_131] at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:293) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:276) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.repository.query.parser.Part.<init>(Part.java:82) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE] at org.springframework.data.repository.query.parser.PartTree 0(PropertyPath.java:311) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atjava.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324) [na:1.8.0131]atorg.springframework.data.mapping.PropertyPath.from(PropertyPath.java:293) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.mapping.PropertyPath.from(PropertyPath.java:276) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.repository.query.parser.Part.<init>(Part.java:82) [springdatacommons2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.data.repository.query.parser.PartTreeOrPart.lambda$new$0(PartTree.java:251) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_131]
at java.util.stream.ReferencePipeline$2 1. a c c e p t ( R e f e r e n c e P i p e l i n e . j a v a : 175 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . S p l i t e r a t o r s 1.accept(ReferencePipeline.java:175) ~[na:1.8.0_131] at java.util.Spliterators 1.accept(ReferencePipeline.java:175) [na:1.8.0131]atjava.util.SpliteratorsArraySpliterator.forEachRemaining(Spliterators.java:948) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_131]
at java.util.stream.ReduceOps R e d u c e O p . e v a l u a t e S e q u e n t i a l ( R e d u c e O p s . j a v a : 708 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . A b s t r a c t P i p e l i n e . e v a l u a t e ( A b s t r a c t P i p e l i n e . j a v a : 234 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . R e f e r e n c e P i p e l i n e . c o l l e c t ( R e f e r e n c e P i p e l i n e . j a v a : 499 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . q u e r y . p a r s e r . P a r t T r e e ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_131] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_131] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_131] at org.springframework.data.repository.query.parser.PartTree ReduceOp.evaluateSequential(ReduceOps.java:708) [na:1.8.0131]atjava.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [na:1.8.0131]atjava.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [na:1.8.0131]atorg.springframework.data.repository.query.parser.PartTreeOrPart.(PartTree.java:252) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.query.parser.PartTree P r e d i c a t e . l a m b d a Predicate.lambda Predicate.lambdanew$0(PartTree.java:381) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_131]
at java.util.stream.ReferencePipeline$2 1. a c c e p t ( R e f e r e n c e P i p e l i n e . j a v a : 175 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . S p l i t e r a t o r s 1.accept(ReferencePipeline.java:175) ~[na:1.8.0_131] at java.util.Spliterators 1.accept(ReferencePipeline.java:175) [na:1.8.0131]atjava.util.SpliteratorsArraySpliterator.forEachRemaining(Spliterators.java:948) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_131]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_131]
at java.util.stream.ReduceOps R e d u c e O p . e v a l u a t e S e q u e n t i a l ( R e d u c e O p s . j a v a : 708 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . A b s t r a c t P i p e l i n e . e v a l u a t e ( A b s t r a c t P i p e l i n e . j a v a : 234 )   [ n a : 1.8. 0 1 31 ] a t j a v a . u t i l . s t r e a m . R e f e r e n c e P i p e l i n e . c o l l e c t ( R e f e r e n c e P i p e l i n e . j a v a : 499 )   [ n a : 1.8. 0 1 31 ] a t o r g . s p r i n g f r a m e w o r k . d a t a . r e p o s i t o r y . q u e r y . p a r s e r . P a r t T r e e ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_131] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_131] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_131] at org.springframework.data.repository.query.parser.PartTree ReduceOp.evaluateSequential(ReduceOps.java:708) [na:1.8.0131]atjava.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [na:1.8.0131]atjava.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [na:1.8.0131]atorg.springframework.data.repository.query.parser.PartTreePredicate.(PartTree.java:382) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.repository.query.parser.PartTree.(PartTree.java:97) ~[spring-data-commons-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.(PartTreeJpaQuery.java:89) ~[spring-data-jpa-2.2.6.RELEASE.jar:2.2.6.RELEASE]
… 60 common frames omitted

解决办法:
Respository没有找到该参数
1)由该参数,函数名写错,不符合JPA规范
2)实体类没有该参数

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值