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