Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 807
c'est moi Avatar asked Nov 25 '25 05:11

c'est moi


1 Answers

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.

like image 177
SaWo Avatar answered Nov 28 '25 01:11

SaWo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!