Posts

Showing posts from March, 2013

Problem with StringUtils. containsIgnoreCase(String, String) in IBM RAD 7.5 and Websphere 6.1

Image
I am using IBM Rational Developer v 7.5 as development IDE and WebSphere Application Server 6.1 as application server to develop a J2EE project. Some days ago I encountered a problem with  containsIgnoreCase method of StringUtils.     It was complaining that The method containsIgnoreCase(String, String) is undefined for the type StringUtils as I was using containsIgnoreCase method of StringUtils defined in apache commons lang 2.3. For that I had added commons -lang -2.3.jar in the classpath. Although the required jar was there in classpath it was saying the method containsIgnoreCase was undefined. Then I searched on the internet and found on IBM website ( http://www-01.ibm.com/support/docview.wss?uid=swg21398963 ) that it was problem with IBM RAD 7.5. While using IBM RAD 7.5 with WebSphere Application Server 6.1 if the Java code uses  containsIgnoreCase method of StringUtils defined in apache commons -lang -2.3.jar it gives  error. The reason for error is that