IDEA报Invalid bound statement (not found)错误解决办法

我在写MyOA-Point9项目时,对service层测试报出了这个异常,遂百度查了一些 解决方法 。

在maven项目的pom.xml中build标签下插入:

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

手工将src下所有xml文件引入编译;

发布了66 篇原创文章 · 获赞 129 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/Point9/article/details/87836291