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:545) ~[spring-data-commons-2.1.3.RELEASE.jar:2.1.3.RELEASE]
版本冲突:
注释掉版本就行了。
You have defined query method in the repository
原文:https://blog.51cto.com/14423206/2415422