- 博客(6)
- 收藏
- 关注
原创 Git 全局忽略文件设置
1. 首先在 ~/.gitconfig 文件下,[core] 下配置 excludesfile = ~/.gitignore_global。
2025-01-21 14:24:25
412
原创 IDEA 中 Git 识别不生效问题
在设置里,找到 Version Control -> Directory Mappings 在这个里面点击 + 号,把模块添加进去,就可以正常用 git 提交了
2025-01-17 17:42:07
769
原创 IDEA 中编写 MyBatis 的 XML 文件,parameterType 无法跳转到类 Cannot find declaration to go to.
resultMap 标签中的 type 和 parmeterType 中的类报红且无法跳转到对应的类中,解决方案:alias 配置别名、写全类路径
2025-01-16 14:10:53
345
原创 Maven 项目启动报错 Cannot resolve com.sun:tools:1.8、Cannot resolve com.sun:jconsole:1.8
上图问题实际遇到的项目启动编译时的报错 Cannot resolve com.sun:tools:1.8、 Cannot resolve com.sun:jconsole:1.8。排查下来当时的 Maven版本是 3.8.1,解决方法就是把 Maven降到 3.6.1 就好了。希望可以帮大家解决问题。
2025-01-16 13:53:54
529
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人