Hi Team
There is a flow service which has a custom java service in it. The service has been working fine but has stopped working and is throwing below exception on running it:
Exception in thread “EventReportRunner_0” java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.amway.integration.wm.logging.report.EventReportHTMLFormatter.formatReport(EventReportHTMLFormatter.java:21)
at com.amway.integration.wm.logging.batch.EventReporter$EventReportRunner.run(EventReporter.java:280)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 2 more
Upon reloading the package, the service is returning output for a while and is again throwing the above exception after a while. Restart did not help too. commons-lang.jar and commons-lang-2.6.0.jar are the jars present. The same service is working fine on other servers with same configuration… Could you please let me know what could be the issue and why is it working for a while on reloading the package