mybatis spring mvc application, getting Invalid bound statement (not found)

后端 未结 17 2289
猫巷女王i
猫巷女王i 2020-12-09 17:04

this is my first mybatis spring mvc application using spring 3.2.4, mybatis-spring-1.2.1

When i try to call my webservice i get the error::

org.spri         


        
17条回答
  •  春和景丽
    2020-12-09 17:18

    2 Points to cover

    1. Check whether the method name is the same in both the XML and Java methods.
    2. Mapper:scan covers the required package. If you are using annotation then @MapperScan(com.xxx) must be in the defined path.

提交回复
热议问题