IDEA中Mapper文件显示红色,提示 Unable to resolve table xxx

问题:IDEA中Mapper文件显示红色,提示 Unable to resolve table user
解决方案:

  1. 将光标放到错误的表明或变量名上: IDEA中Mapper文件显示红色,提示 Unable to resolve table xxx
  2. 点击左侧灯泡图标或者使用快捷键(alt+enter or option+enter)会出现修复选项:
    IDEA中Mapper文件显示红色,提示 Unable to resolve table xxx
  3. 选择Go to sql resolution Scope 项:
    IDEA中Mapper文件显示红色,提示 Unable to resolve table xxx
  4. 配置mapper对应的数据库:IDEA中Mapper文件显示红色,提示 Unable to resolve table xxx

相关文章:

  • 2021-09-11
  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2021-10-15
  • 2021-04-12
  • 2021-04-06
  • 2022-12-23
猜你喜欢
  • 2022-02-02
  • 2021-11-08
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
相关资源
相似解决方案