当我尝试将Spring Boot应用程序从版本1.4.2.RELEASE迁移到版本2.2.6.RELEASE时,我发现没有找到org.springframework.data.querydsl.QueryDslPredicateExecutor
无法解析symbol QueryDslPredicateExecutor
我应该添加spring-data-commons版本1.12.8.RELEASE
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>1.12.8.RELEASE</version>
</dependency>然后我发现了另一个问题

GitHub存储库:https://github.com/dali05/SpringBootMultipleMavenModules
图解
发布于 2020-08-11 16:55:45
请注意,随着时间的推移,类的名称已经更改,其中一个“D”已从大写更改为小写“d”,即:QueryDslPredicateExecutor现在是QuerydslPredicateExecutor。这可能会让你和我一样感到头疼。
将源代码中的类引用为QuerydslPredicateExecutor,源代码将再次构建。
https://stackoverflow.com/questions/60937758
复制相似问题