今天遇到的一个奇葩的NoClassFound的问题
2017-10-18 20:42
2276 查看
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启动后,一切正常.
这都什么鬼 ?
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启动后,一切正常.
这都什么鬼 ?
相关文章推荐
- 今天遇到的一个编译问题
- 今天在看一些面试题的时候遇到的一个关于strcmp()返回值的细节问题
- 今天帮朋友做了一个2501帧的flash动画,遇到了些问题,总结下。----无法导出flash,系统显示内存不足
- 今天遇到的一个问题,在此先记录
- 今天写python的一个定时关机小脚本遇到的问题
- 今天遇到了一个form表单的问题
- 今天在Linux下运行一个程序遇到的问题
- 今天遇到一个SQL的问题
- 哎呀,今天犯了一个大毛病,有串口不打log看,遇到问题就请教别人是个坏毛病
- 今天遇到一个很奇怪的问题,挨个赋值可以,隔一个赋一个不行
- 初学shell,今天遇到由wget下载到本地的网页源代码的乱码问题,无聊的写了一个转码的脚本
- 今天在家装Tomcat服务器,郁闷了,遇到一个问题装好开启服务后 进入不了manager/
- 今天遇到了一个奇怪问题
- 今天遇到了很奇葩的li a的点击问题自己解决的
- 今天遇到的一个开发问题 window.onload冲突
- 今天遇到的一个郁闷的问题。
- 今天遇到的一个比较变态的问题
- \t\t今天遇到了一个很奇怪的问题
- 又遇到一个奇葩问题....输出double用%f...
- 今天遇到一个问题,很纠结include(authenticate.php): failed to open stream: No such file or directory