nohup的日志中报错

java.lang.NoClassDefFoundError: org/apache/catalina/core/ApplicationContext$DispatchData

2017-10-18 20:21:55.017 |-ERROR [http-nio-28082-exec-9] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] [181] -| Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filter execution threw an exception] with root cause
java.lang.NoClassDefFoundError: org/springframework/boot/actuate/trace/WebRequestTraceFilter$CustomStatusResponseWrapper

最后居然是因为该jar是root用户启动的, 而Jenkins上使用的是rc用户,Jenkins部署的时候无法通过rc将该进程杀死.但是有的接口是OK的,有的接口就会报上面的问题

将该进程杀死,用Jenkins启动后,一切正常.

这都什么鬼 ?

相关文章:

  • 2021-10-18
  • 2021-05-15
  • 2022-02-21
  • 2021-06-01
  • 2021-09-04
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2022-01-26
  • 2022-12-23
  • 2021-08-07
  • 2021-10-20
  • 2021-04-01
  • 2022-03-07
  • 2021-06-14
相关资源
相似解决方案