I see that some text went missing after the post:

Here the stack trace log:

Error starting ApplicationContext. To display the conditions report re-run
your application with 'debug' enabled.
2019-11-02 13:16:56.482 ERROR 13627 --- [           main]
o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'personRepository': Invocation of init method failed; nested
exception is java.lang.IllegalStateException: You have defined query method
in the repository but you don't have any query lookup strategy defined. The
infrastructure apparently does not support query methods!
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1803)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:860)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
~[spring-context-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
~[spring-context-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
~[spring-boot-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.bug.ignite.springdatabug.SpringDataBugApplication.main(SpringDataBugApplication.java:10)
~[classes/:na]
Caused by: java.lang.IllegalStateException: You have defined query method in
the repository but you don't have any query lookup strategy defined. The
infrastructure apparently does not support query methods!
        at
org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.<init>(RepositoryFactorySupport.java:553)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:332)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at org.springframework.data.util.Lazy.getNullable(Lazy.java:212)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at org.springframework.data.util.Lazy.get(Lazy.java:94)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300)
~[spring-data-commons-2.2.0.RELEASE.jar:2.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1799)
~[spring-beans-5.2.0.RELEASE.jar:5.2.0.RELEASE]
        ... 15 common frames omitted



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to