1. 程式人生 > >ssm整合問題Exception:Request processing failed; nested exception is org.apache.ibatis.binding.BindingExc

ssm整合問題Exception:Request processing failed; nested exception is org.apache.ibatis.binding.BindingExc

解決方案:
在Pom檔案新增如下內容:

[html] view plain copy

<!-- 如果不新增此節點mybatis的mapper.xml檔案都會被漏掉。 -->  
    <build>  
        <resources>  
            <resource>  
                <directory>src/main/java</directory>  
                <includes>  
                    <include>**/*.properties</include>  
                    <include>**/*.xml</include>  
                </includes>  
                <filtering>false</filtering>  
            </resource>  
        </resources>  
    </build>