当我使用IDEA调试JdbcTemplate源代码时,IDE提示我:'源代码与字节码不匹配'
截屏:
我使用 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- https://intellij-support.jetbrains.com/hc/en-us/community/posts/206822215-what-does-Choose-Sources-do-and-how-can-I-undo-what-it-does-
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)