2019独角兽企业重金招聘Python工程师标准>>>

在使用struts2发布到weblogic10的时候报这个异常

Could not reload resource bundles java.lang.NoSuchFieldException: cacheList

You can't work with Struts 2 in devMode and Websphere. There isn't many information on the Internet (in French) but what I can understand with my limited French knowledge is that you have to put the server with production settings. I mean that your struts.xml must be like this to make Struts2 work on Websphere:
<struts><constant name="struts.devMode" value="false" /><constant name="struts.i18n.reload" value="false" /><constant name="struts.configuration.xml.reload" value="false" />...
</struts>The reason that why is this happening is not very clear. The blog explains that maybe is for a different JVM implementation by IBM and maybe it differs in the implementation of the ResourceBundle class that has no private field cacheList and then raises an error when it reloads the i18n labels.

转载于:https://my.oschina.net/u/181757/blog/147429

Could not reload resource bundles java.lang.NoS...相关推荐

  1. 海康sdk项目部署Linux系统时出现java.lang.UnstisfiedLinkError:jnidispatch(xxx)not found in resource path错误

    海康sdk项目部署Linux系统时出现java.lang.UnstisfiedLinkError:jnidispatch(xxx)not found in resource path错误 问题描述 解 ...

  2. java遍历文件和归类_java读取文件的两种方法:java.io和java.lang.ClassLoader

    java读取文件的两种方法:java.io和java.lang.ClassLoader 什么时候使用java.io,什么时候使用java.lang.ClassLoader呢? (注:要是之前读xml文 ...

  3. maven命令行创建web项目报错:java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils...

    早上新建一个web项目,没想到一敲命令创建就失败了,真是出师不利.各种折腾无果,当然我也可以用eclipse直接创建的,就是想搞清楚状况.刚刚才发现问题原因,这个结果我也是醉了,太坑爹了. 问题现象: ...

  4. SpringBoot 项目tomcat插件启动报错 java.lang.NoClassDefFoundError: javax/el/ELManager

    问题描述: SpringBoot项目 tomcat插件启动出现下面的问题: ERROR 2021-04-07 08:42:03,129 org.springframework.boot.SpringA ...

  5. Caused by: java.lang.NoClassDefFoundError: redis/clients/util/Pool

    严重: Exception sending context initialized event to listener instance of class org.springframework.we ...

  6. 批量下载的实现及java.lang.IllegalStateException异常

    在工作流的一张表单里可能会有多个步骤上传附件,在用户的待办中往往会存在多条带有附件的任务,如果一一打开并且点击下载链接下载,不仅费时,而且繁琐,用户体验较差. OA系统采用的是FastDFS做为文件服 ...

  7. Caused by: java.lang.ClassNotFoundException: javax.persistence.Entity

    1.错误描写叙述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -he ...

  8. 解决java.lang.UnsupportedClassVersionError: Bad version number in .class file问题

    在启动tomcat服务器时, 报如下的错误: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading ...

  9. nested exception is java.lang.IllegalStateException: Context namespace element 'annotation-config' a

    公司还用的是spring低版本,今天用jre 8测试了一下,发现错误: Unexpected exception parsing XML document from class path resour ...

最新文章

  1. [泰然翻译] cocos2d programming guide翻译(10)
  2. mysql开启skip-name-resolve 导致root@127.0.0.1(localhost)访问引发的ERROR 1045 (28000)错误解决方案...
  3. 英国脱欧但网络安全领域重视未减
  4. PHP中变量类型的判断
  5. rog live service是什么_双11手机怎么买?ROG游戏手机3“独一份”体验,值得剁手...
  6. module 'queue' has no attribute 'Queue'解决
  7. C语言 sprintf实现
  8. STM32板子电源绘制原理
  9. mysql 重建注册_mysql 重建帐号
  10. 八人抢答器讲解_八人竞赛抢答器需求分析
  11. 一个很有意思的熊猫免疫器
  12. bootstrap 页面垂直居中_bootstrap div垂直居中+水平居中保持响应式
  13. 游戏对战平台原理终结篇(转自)
  14. 能拿驾照就能通过 Elastic 认证考试!
  15. 计算机专业要求屏幕吗,台式电脑需要剪辑的话,显示屏是选择曲屏好还是直屏好呢?...
  16. Redis——过期时间/过期回收策略
  17. java依赖什么意思,JavaEE中的依赖性——依赖查找
  18. 原生JS获取body
  19. 如何利用互联网思维,让用户从“被动选择”到“主动选择”?
  20. 小米4C 刷机 接触授权

热门文章

  1. perl abs函数
  2. win下实现Linux的tab自动补全
  3. Choerodon猪齿鱼敏捷管理实践(一)——需求管理
  4. 技术简报 2014-1-27
  5. 在RHEL5下构建Nessus漏洞检测系统
  6. centos7.6 LNMP新版本
  7. 函数嵌套,关键字,闭包和装饰器
  8. “Hello, my first blog”------第一篇博客的仪式感
  9. STL_string.vector中find到的iterator的序号
  10. 序列化、模块 day21