gpt4 book ai didi

java - 'source code does not match the bytecode' 使用IDEA调试JdbcTemplate

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:35:29 26 4
gpt4 key购买 nike

当我使用IDEA调试JdbcTemplate源码时,IDE提示:'Source code does not match the bytecode'

截图:

enter image description here

我使用mvn来管理我的项目;我的maven pom配置是:

<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.orm</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>

最佳答案

如果您有多个依赖项,而这些依赖项本身具有相同依赖项的不同版本,也会发生这种情况。 JetBrains 网站上的这篇文章展示了如何在首选项中启用备用源切换器。

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206822215-what-does-Choose-Sources-do-and-how-can-I-undo-what-it-does-

关于java - 'source code does not match the bytecode' 使用IDEA调试JdbcTemplate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45807888/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com