【Tomcat】tomcat报错 removeGeneratedClassFiles failed
程序放到测试环境一点问题没有,放到正式环境都是问题。总感觉是环境的问题,环境能带来问题,但是不是所有问题都能说是环境带来的。
这点,要改正。还要淡定对待问题。看错误。
程序是不会骗你的。这个问题折磨了好久!哎。一百度,才想明白怎么回事。
tomcat切换用户重启后报错如下:
16-Mar-2016 15:32:12.162 WARNING [http-nio-8888 exec-15] org.apache.jasper.compiler.Compiler.removeGeneratedClassFiles Failed to delete generated class file [/home/project/getui/apache-tomcat-7/work/Catalina/localhost/getui-project/org/apache/jsp/jsp/hft_005faudit_005flist_jsp.class]
16-Mar-2016 15:32:12.163 WARNING [http-nio-8888-exec-15] org.apache.jasper.compiler.Compiler.removeGeneratedFiles Failed to delete generated Java file [/home/project/getui/apache-tomcat-7/work/Catalina/localhost/getui-project/org/apache/jsp/jsp/hft_005faudit_005flist_jsp.java]
16-Mar-2016 15:32:12.185 WARNING [http-nio-8888-exec-15] org.apache.jasper.compiler.Compiler.generateJava Failed to delete generated Java file [/home/project/getui/apache-tomcat-7/work/Catalina/localhost/getui-project/org/apache/jsp/jsp/hft_005faudit_005flist_jsp.java]
错误导致原因:服务器是秘钥登录,但是kill程序的时候,kill不掉,所以让运维用root kill了,切换用户操作了程序,导致了这种错误的产生。
错误很变态,访问程序有时候正常,有时候404,有时候500,还有更新的程序也更新不了。缓存也清掉了。也不是这问题。原来就是切换用户导致的。无法编译classes文件。
仰天长叹ing...
【Tomcat】tomcat报错 removeGeneratedClassFiles failed的更多相关文章
- Tomcat启动报错:Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
在用MyEclipse做开发,启动Tomcat的时候,控制台老是报错Failed to initialize end point associated with ProtocolHandler [&q ...
- Tomcat启动报错:[Failed to start component]的解决方案
在MyEclipse中启动Tomcat,该Tomcat仅部署了一个报错项目,启动Tomcat Server的全部信息如下: usage: java org.apache.catalina.startu ...
- 解决sever 2008中tomcat的报错 init Failed to initialize end point associated with ProtocolHandler ["http-nio-80"]
错误现象: 01-Aug-2017 14:59:50.140 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing Protoc ...
- Tomcat——启动报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Servlet_app02a]]
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start com ...
- tomcat启动报错:Injection of autowired dependencies failed
tomcat启动报错:Injectjion of autowired dependencies failed 环境: 操作系统:centos6.5 tomcat: 7.0.52 jdk:openjdk ...
- tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].
tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].多半情况是找不到jar包 解 ...
- (转)Eclipse4.2 Tomcat启动报错 A child container failed during start
Eclipse4.2 Tomcat启动报错 A child container failed during start 2013-5-21 15:02:24 org.apache.catalina. ...
- 记一次Tomcat启动报错Failed to start component [StandardEngine[Catalina].Standard
今天启动项目的时候,发现tomcat一直报错,之前都一直没有问题的啊,提示 org.apache.catalina.LifecycleException: Failed to start ...
- docker—tomcat 报错:Failed to get D-Bus connection: Operation not permitted
docker search centos 查系统镜像 docker pull docker.io/centos 进入容器 [root@git opt]# docker images REPOSIT ...
随机推荐
- qt 使用非系统字库
之前的做法都是把 ttc, ttf 这些文件拷贝到系统字库里去(即拷贝到 lib/fonts 下).但是,每次添加字体,我都要把产品的文件系统都给升级一遍吗?这样系统的一致性就不大好了.所以想能不能直 ...
- ubantu安装sogou输入法
Ubuntu的搜狗输入法安装步骤 1 本来想先移除ibus,但是在之后发现如果直接使用下面的命令 sudo apt-get remove ibus 移除ibus将导致系统某些地方不正常的问题,例如 ...
- WCF入门
一.概述 Windows Communication Foundation(WCF)是由微软发展的一组数据通信的应用程序开发接口,可以翻译为Windows通讯接口,它是.NET框架的一部分.由 .NE ...
- HDU 1213 How Many Tables(并查集)
传送门 Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Igna ...
- JSP+JavaBean+Servlet+Oracle新增功能中对Date类型的字段的处理
Oracle库中userinfo表borth字段是Date类型,age年纪字段是int类型.age字段要根据borth来自动计算 先说一下我遇到的问题: insert into的时候遇到日期转换类型错 ...
- Mysql学习笔记(七)mysql编程基础之自定义函数。
delimiter $$ create function fn_liangzifunction() returns int no sql begin ; return @row_no; end; $$ ...
- SVM基本思想和对偶推导笔记-记录毕业论文1
快毕业啦~~记得上一篇论文利用JointBoost+CRF做手绘草图的分割项目在3月份完结后,6月份去实习,9月份也没怎么认真找工作就立刻回来赶论文(由于分割项目与人合作难以写入毕业论文),从9月到1 ...
- codeforces 712B. Memory and Trident
题目链接:http://codeforces.com/problemset/problem/712/B 题目大意: 给出一个字符串(由'U''D''L''R'),分别是向上.向下.向左.向右一个单位, ...
- 重启nginx
在env/nginx/sbin目录下输入:nginx,即可重启
- CentOS安装oracle12C
安装虚拟系统CentOS6.5,分配给至少1G的内存,其他条件适当高些,具体参考官方文档 一.安装数据库: 1.安装依赖软件包 yum install binutils -y yum install ...