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啟動后,一切正常.
這都什么鬼 ?