因为有重复的jar
原因:springboot有自己的tomcat运行环境我们又在构件路径中添加了tomcat
解决方法:把项目构件路径中的tomcat给移除
- NoSuchMethodError addServletMapping container exception embeddednosuchmethoderror addservletmapping container addservletmapping nosuchmethoderror ljava lang nosuchmethoderror quot nosuchmethoderror usermodel cellstyl caused nosuchmethoderror lang charsequence stringutils ljava nosuchmethoderror lang atomicreference nosuchmethoderror internal platform okhttp3 maven defaultmodelvalidator nosuchmethoderror nosuchmethoderror lang stringutils mybatisplus