Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ED80177BD for ; Tue, 4 Nov 2014 19:26:36 +0000 (UTC) Received: (qmail 50800 invoked by uid 500); 4 Nov 2014 19:26:36 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 50767 invoked by uid 500); 4 Nov 2014 19:26:36 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 50636 invoked by uid 99); 4 Nov 2014 19:26:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 19:26:36 +0000 Date: Tue, 4 Nov 2014 19:26:35 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4416) LocalizedTextUtil should suppress exception with tomcat8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4416: ------------------------------ Fix Version/s: 2.3.x > LocalizedTextUtil should suppress exception with tomcat8 > -------------------------------------------------------- > > Key: WW-4416 > URL: https://issues.apache.org/jira/browse/WW-4416 > Project: Struts 2 > Issue Type: Improvement > Reporter: zhouyanming > Fix For: 2.3.x > > > running struts2 with tomcat-8.0.14 will throw exception. > {code:java} > couldn't clear tomcat cache > java.lang.NoSuchFieldException: resourceEntries > at java.lang.Class.getDeclaredField(Class.java:1953) > at com.opensymphony.xwork2.util.LocalizedTextUtil.clearMap(LocalizedTextUtil.java:859) > at com.opensymphony.xwork2.util.LocalizedTextUtil.clearTomcatCache(LocalizedTextUtil.java:842) > at com.opensymphony.xwork2.util.LocalizedTextUtil.reloadBundles(LocalizedTextUtil.java:821) > at com.opensymphony.xwork2.util.LocalizedTextUtil.reloadBundles(LocalizedTextUtil.java:797) > at com.opensymphony.xwork2.util.LocalizedTextUtil.findDefaultText(LocalizedTextUtil.java:214) > at com.opensymphony.xwork2.util.LocalizedTextUtil.getDefaultMessage(LocalizedTextUtil.java:666) > at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:542) > at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:370) > at com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:208) > at com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:123) > at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:103) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)