c'est moi
c'est moi

Reputation: 349

QueryDslPredicateExecutor working with spring boot version 1.4.2.RELEASE but not working with spring boot version 2.2.6.RELEASE

When I try to migrate my Spring Boot application from version 1.4.2.RELEASE to version 2.2.6.RELEASE I found that org.springframework.data.querydsl.QueryDslPredicateExecutor not found

Cannot resolve symbol QueryDslPredicateExecutor

i should add spring-data-commons version 1.12.8.RELEASE

<dependency>
   <groupId>org.springframework.data</groupId>
   <artifactId>spring-data-commons</artifactId>
   <version>1.12.8.RELEASE</version>
</dependency>

and then i found another probleme
enter image description here GitHub repo: https://github.com/dali05/SpringBootMultipleMavenModules

thnaks

Upvotes: 2

Views: 1579

Answers (1)

SaWo
SaWo

Reputation: 1615

Please note that the name of the class over time has been changed, in that one 'D' has changed from its uppercase to a lowercase 'd', ie: QueryDslPredicateExecutor is now QuerydslPredicateExecutor. Probably this caused some headache for you as it did for me too.

Refer to the class in your source code as QuerydslPredicateExecutor and your source code will build again.

Upvotes: 8

Related Questions