nested exception is org.apache.ibatis.binding.BindingException: Invalid boun

 

  Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.southwind.mmall002.service.UserService.getOne] with root cause

These errors are because the corresponding mapper class method is not implemented, that is, the mapper.xml file is not loaded or loaded incorrectly. By repeatedly checking the errors, I found that my annotation was [email protected] Mapperscan (“com. Southwind, mmall002. Mapper”) is changed to @ mapperscan (“com. Southwind. Mmall002. Mapper”), comma is changed to dot, low-level error……

 

Similar Posts: