I have a Struts application for which my organization has been using IBM RAD as the IDE. In this project, we have a Java EE Application project and a Java EE Web Application project. In the Java EE Application project, we have added commons-lang3-3.1.jar as a Utility JAR. We are taking a reference of this project in the web application.
However, when using StringUtils class in the web application, we are facing NoClassDefFoundError exception. However, we also similarly added Guava Cache and are able to access classes inside this Jar.
Has anyone faced similar problem? For now, I am using the StringUtils class found in Apache Axis. I have paced the axis.jar at WEB-INF\lib folder of the web application.
Does anyone know why this is happening? How can this be solved? (The current version of IBM RAD I am using is 8.5. There are few differences between standard Eclipse and IBM RAD (based on Eclipse IDE). As such I am mentioning that we are using IBM RAD.)