org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): *******

mybatis找不到mapper中的方法
解决方法:
1.在pom文件加上


        
            
                src/main/java
                
                    **/*.xml
                
                false
            
        
    

2.在application.properties中添加

mybatis-plus.mapper-locations=classpath:com/*/*/mapper/xml/*.xml

你可能感兴趣的:(org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): *******)