Could not initialize class DateFormatUtils

In some cases when an editor logs in to XperienCentral, the following error message is seen in the log:


11-May-2020 13:42:03.889 SEVERE [ajp-nio-127.0.0.1-8009-exec-484]
org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [ControllerServlet] threw exception java.lang.NoClassDefFoundError: Could not initialize class
org.apache.commons.lang3.time.DateFormatUtils at nl.gx.webmanager.taglib.EditableTag.getInContextTimeAttribute(EditableTag.java:501) at nl.gx.webmanager.taglib.EditableTag.getContentItemAttributes(EditableTag.java:479) at nl.gx.webmanager.taglib.EditableTag.doTag(EditableTag.java:295) at 
org.apache.jsp.WEB_002dINF.wm.jsp.edit.product.page.htmlFallback_jsp._jspx_meth_wm_005feditable_005f0(htmlFallback_jsp.java:464) at 
org.apache.jsp.WEB_002dINF.wm.jsp.edit.product.page.htmlFallback_jsp._jspService(htmlFallback_jsp.java:177)


This problem occurs when the Linux time zone data package (tzdata) is updated but the Java version in the environment is not. In most cases the solution is to update Java to the latest version within the major Java version used (Java 9, 11 and so forth).

See https://bugs.openjdk.java.net/browse/JDK-8243541 for more information.