IBM Support

When using new Apache classes in an application that is running on Websphere Application Server 6.1, a "Not Known by classes bundled with com.ibm.ws.jpa.6.1.0.jar" compile error results

Troubleshooting


Problem

If you develop an EJB 3.0 application on IBM Rational Developer v 7.5 running on IBM WebSphere Application Server 6.1 and the application uses Apache Commons Lang 2.4.0, you may get compile errors. These errors may occur when using new methods such as "org.apache.commons.lang.StringUtils#containsIgnoreCase(String,String)".

Symptom

The error appears as follows:


org.apache.commons.lang.StringUtils.containsIgnoreCase(String, String) is not known by the classes bundled with com.ibm.ws.jpa.6.1.0.jar
Apache Commons Lang 2.4.0 bundled with the EAR /TestEAR/commons-lang.jar and referenced in /Test/ejbModule/META-INF/MANIFEST.MF knows this method.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3","Edition":"All Editions","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3","Edition":"All Editions","Line of Business":{"code":"LOB15","label":"Integration"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Rational Application Developer for WebSphere Software

Software version:
7.5, 7.5.1, 7.5.2, 7.5.3

Operating system(s):
Windows

Document number:
396159

Modified date:
29 September 2018

UID

swg21398963

Manage My Notification Subscriptions