其他分享
首页 > 其他分享> > ssm项目扫描不到mapper总结方法

ssm项目扫描不到mapper总结方法

作者:互联网

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>

标签:总结,mapper,多多指教,扫描,ssm,org
来源: https://blog.csdn.net/administratop/article/details/112357652