You have defined query method in the repository

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
注释掉版本就行了。

猜你喜欢

转载自blog.51cto.com/14423206/2415422
今日推荐