解决:Invalid bound statement (not found):

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

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

你可能感兴趣的:(解决:Invalid bound statement (not found):)