I am working on a Struts 2 project.
I have used StrutsPrepareAndExecuteFilter
.
I am using Eclipse IDE
and Weblogic server 9.2
.
I have added the following libraries to the lib folder of the project :
I have used ant build tool to build ear.
There are no errors during compilation time but when I deploy the ear, I get the following error
SEVERE: Could not load user
defined filter in web.xml: org.apache.struts2.dispatcher.ng.filter.StrutsPreparecuteFilter.
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.reg
XmlConfigurationProvider.java:213)
Even after adding commons-lang3
jar in the WEB-INF/lib folder of the project, why am I getting exception?
Do I need to add any jar to weblogic server?
Here I have included the commons-lang3-3.2.jar in the lib folder of the project so it is not a duplicate of the other question posted on stack overflow
I finally found that commons-lang3-3.2 jar is not supported in java 1.5. Instead commons-lang3-3.0 jar can be used with java 1.5.