SpringBoot 启动时报错:

Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.catalina.Context.addServletMapping(Ljava/lang/String;Ljava/lang/String;)V

 

Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.cata

将这个tomcat 去掉即可,springboot-web 有内置的tomcat

相关文章:

  • 2021-08-22
  • 2021-10-15
  • 2021-06-26
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
猜你喜欢
  • 2021-04-19
  • 2021-04-12
  • 2022-12-23
  • 2021-10-09
  • 2021-09-16
  • 2021-07-06
  • 2021-05-21
相关资源
相似解决方案