Skip to Content
0
Former Member
Jul 10, 2012 at 08:32 AM

Linkage error while loading class - java.lang.NoClassDefFoundError: org/apache/commons/lang/StringEscapeUtils

669 Views

Hi Exparts,

In one java mapping I have use a external jar common-lang-2.3.jar. And the corresponding method which I have used in the java map is StringEscapeUtils.escapeXml(“the string”);

It is for handling spatial characters (“,’,&,<,>) in xml data, like if <a> you & I </a> comes it will transfer to <a> you &amp; I </a>

After creating the imported archive when I ran it in ESR locally in test tab it is running fine but when ever I run it end to end or triggering it from RWB it is giving error in MONI as "Linkage error while loading class - java.lang.NoClassDefFoundError: org/apache/commons/lang/StringEscapeUtils".

What can be the reason for it ?

Thanks,

Aniruddha