[
https://issues.apache.org/jira/browse/WW-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117396#comment-17117396
]
James Chaplin commented on WW-5079:
-----------------------------------
Hello [~qman23] .
The description states that you updated your project to Struts 2.5.22. +What
version of Struts 2 were you using for the project before the upgrade+ (e.g.
2.3.37, 2.5.20) ?
You indicated that you manually upgraded to javassist-3.26.0-GA.jar, and are
running WAS on Java 7 ?
It seems that +javassist-3.26.0-GA.jar (Javassist 3.26.0) is built for Java 8+
runtimes+, so that will probably result in failures if it gets called within a
Java 7 Runtime.
You +could try javassist-3.25.0-GA.jar (Javassist 3.25.0)+ as that seems to be
+the most recent one built for Java 7+ runtimes+. I'm not sure if that will
help or not, but it might be worth trying.
As a last resort, after trying Javassist 3.25.0, you could try reverting back
to Javassist 3.20.0 and see if that makes any difference.
One last question. +Is there anything strange in your application's logs or
the WAS logs that precedes the "Could not find required filter class"
exception+ ?
> Could not find StrutsPrepareAndExecuteFilter sometime in WAS server
> -------------------------------------------------------------------
>
> Key: WW-5079
> URL: https://issues.apache.org/jira/browse/WW-5079
> Project: Struts 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.5.22
> Environment: Please see our environment below:
> Application server: Websphere application server 8.5
> JDK version: 7.0
> Reporter: Lee
> Priority: Major
> Fix For: 2.6
>
> Attachments: dependency.png, err_log.txt
>
>
> We upgrade the Struts version to 2.5.22 recently.
> The new version working well in our testing enviroment. But after moved to
> production. After some time it's been used. The system throw out exception
> for 'Could not find required filter class -
> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.class'.
> I used the minmal struts 2.5.22 jars download from Struts website, because of
> our security scan application notify that javassist-3.20.0-GA.jar is out of
> date, so i replace it to 3.26.0-GA. Could this issue related to this change?
> Thanks a lot.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)