首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >QueryDslPredicateExecutor使用spring boot版本1.4.2.RELEASE,但不使用spring boot版本2.2.6.RELEASE

QueryDslPredicateExecutor使用spring boot版本1.4.2.RELEASE,但不使用spring boot版本2.2.6.RELEASE
EN

Stack Overflow用户
提问于 2020-03-31 03:06:04
回答 1查看 130关注 0票数 0

当我尝试将Spring Boot应用程序从版本1.4.2.RELEASE迁移到版本2.2.6.RELEASE时,我发现没有找到org.springframework.data.querydsl.QueryDslPredicateExecutor

无法解析symbol QueryDslPredicateExecutor

我应该添加spring-data-commons版本1.12.8.RELEASE

代码语言:javascript
复制
<dependency>
   <groupId>org.springframework.data</groupId>
   <artifactId>spring-data-commons</artifactId>
   <version>1.12.8.RELEASE</version>
</dependency>

然后我发现了另一个问题

GitHub存储库:https://github.com/dali05/SpringBootMultipleMavenModules

图解

EN

回答 1

Stack Overflow用户

发布于 2020-08-11 16:55:45

请注意,随着时间的推移,类的名称已经更改,其中一个“D”已从大写更改为小写“d”,即:QueryDslPredicateExecutor现在是QuerydslPredicateExecutor。这可能会让你和我一样感到头疼。

将源代码中的类引用为QuerydslPredicateExecutor,源代码将再次构建。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60937758

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档