java.lang.NoSuchMethodError:

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就好了

上一篇:HOOK API 在多线程时应该注意的问题点


下一篇:mysql utf8_bin跟utf8_general_ci的区别