SpringBoot启动报错IllegalArgumentException: ContextPath must start with ‘/‘ and not end with ‘/‘
2020-11-05 14:42:21.394 ERROR 14220 — [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘tomcatServletWebServerFactory’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: ContextPath must start with ‘/’ and not end with ‘/’

错的地方为:
SpringBoot启动报错IllegalArgumentException: ContextPath must start with ‘/‘ and not end with ‘/‘
修改为:
SpringBoot启动报错IllegalArgumentException: ContextPath must start with ‘/‘ and not end with ‘/‘

相关文章:

  • 2022-01-10
  • 2022-12-23
  • 2021-04-11
  • 2022-01-28
  • 2021-05-26
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-07-08
  • 2021-09-07
  • 2021-11-24
  • 2021-07-28
相关资源
相似解决方案