org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

idea与eclipse不同,***Mapper.xml需要放在resources目录下才可以解析,但是如果像下图这种布局,需要在pom文件下添加

<build>
    <resources>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.xml</include>
            </includes>
        </resource>
    </resources>

</build>

 

idea代理方法不能成功映射

 

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-11-03
  • 2021-06-07
  • 2021-08-20
  • 2021-07-25
  • 2021-07-16
  • 2022-01-21
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-11-17
  • 2021-09-03
  • 2021-12-03
相关资源
相似解决方案