spring-data-orientdb icon indicating copy to clipboard operation
spring-data-orientdb copied to clipboard

Spring Version Incompatibility

Open StephenDillon opened this issue 7 years ago • 2 comments

springBootVersion = '2.1.0.RELEASE' springCloudVersion = 'Greenwich.M2'

compile('com.orientechnologies:spring-data-orientdb-object:0.14-3.0.5-SNAPSHOT')

Cause a error "You have defined query method in the repository but you don't have no query lookupstrategy defined. The infrastructure apparently does not support query methods!"

Down grading to below resolved the issues and looks to be working. implementation('org.springframework.data:spring-data-commons:2.0.8.RELEASE')

Would recommend using the spring cloud bom to help manage the versions (Gradle Config) dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" } }

StephenDillon avatar Dec 04 '18 17:12 StephenDillon

I'm having the same problem! Same error with Spring Boot 2.1.

crocy avatar Dec 06 '18 07:12 crocy

I got past it by downgrading the dependency above, but later upon deployment to pivotal cloud foundry, it just hangs on startup without any errors or debugging at all, except a mismatch between client and server version.

StephenDillon avatar Dec 06 '18 15:12 StephenDillon