奶奶的,测试环境都运行正常,都是linux系统,部署到生产直接报下面做,百度了下有类似错,但只是类似和我一样错的一晚上都没找到,试了半天还是不行,请高人指点!!!
架构:spring+hibernate+springmvc+ehcache+mysql
INFO: Illegal access: this web application instance has been stopped already. Could not load org/terracotta/bigmemory/version.properties. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
INFO: Illegal access: this web application instance has been stopped already. Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
看下文件的所有者和权限linux下这个才是最先看的数据库连不上吧keyilianshang.
不能加载loadorg/terracotta/bigmemory下面的propperties,是不是换了一个环境,代码里面获取这个文件时候的代码有问题?
没有手动处理过这个文件,感觉这是jar包里的类自己处理的我有个排错的习惯:
1、找出异常的class
2、找到方法
3、找到行
虽然时间成本比较高,但是非常有效,最终的结果可能会让你跌眼镜。
那里要加载这个<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#E53333;">version.properties<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;">文件了,applicationContext.xml还是web.xml了...
匿名类加载不上,我估计有类的版本冲突,<spanstyle="font-family:Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">java.lang.IllegalStateException通常是一个class被多次打包,然后版本还不一致时会出现。Thatwasaclassloadersproblemofcourse.Wehadanotherinstanceofehcache-corelibraryindomain/libfolder.
会不会这样呢
论<aclass='project'target='_blank'title='创建虚拟化开发环境工具Vagrant'>Vagrant的重要性
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。