Servlet.service() for servlet [springMVC] in context with path [/mobile] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: XXX.selectByCustomerId(Ljava/lang/String;)Ljava/util/List;] with root cause
java.lang.NoSuchMethodError: XXX.selectByCustomerId(Ljava/lang/String;)Ljava/util/List;
解决方法:
1.project->clear
2.”clean install “ 你的maven
3.重启tomcat就好了