解决:Invalid bound statement (not found):

    技术2022-07-12  67

    java包下面写mappe.xml文件,需要在web.xml中添加以下配置
    <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources> </build>
    添加后,如果在resources包下写mappe.xml文件时,则不会编译resources报下的mappe.xml文件,这时就会报这个错。

    解决:mappe.xml文件最好放在resources源文件路径下,再将web.xml中的配置删除。

    Processed: 0.012, SQL: 10