1. 程式人生 > 其它 >ssm專案掃描不到mapper總結方法

ssm專案掃描不到mapper總結方法

技術標籤:javajava

ssm專案掃描不到mapper包,自己總結的方法,請大家多多指教

**org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.itheima.mapper.AccountMapper.save**
    <!--只需要加上以下的註解,問題方可解決-->
    <resources>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.properties</include>
                <include>**/*.xml</include>
            </includes>
            <filtering>false</filtering>
        </resource>
    </resources>