Servlet.service() for servlet [dispatcherServlet] in context with path [/user] threw exception [Requ

    今天学springboot的时候遇到了一个问题
Servlet.service() for servlet [dispatcherServlet] in context with path [/user] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zy.service.UserServer.login] with root cause
Servlet.service() for servlet [dispatcherServlet] in context with path [/user] threw exception [Requ

一开始以为是自己的方法写错了,后来发现不是的,是我自己的启动类SpringbootApplication类没有写具体
Servlet.service() for servlet [dispatcherServlet] in context with path [/user] threw exception [Requ
解决方法:
把类写具体就行了
Servlet.service() for servlet [dispatcherServlet] in context with path [/user] threw exception [Requ