Symptom
A deployment with Migrate data mode was triggered in SAP Commerce Cloud Portal, and the migrate data logs show the following errors:
... java.lang.reflect.InvocationTargetException at de.hybris.platform.core.threadregistry.RegistrableThread.internalRun(RegistrableThread.java:134) ... at org.apache.logging.log4j.LogManager.getContext(LogManager.java:157) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270) .. at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:435) Exception in thread "ShutdownHookThread" java.lang.NoClassDefFoundError: Could not initialize class de.hybris.platform.util.Utilities at java.base/java.lang.Thread.run(Thread.java:829)
java.lang.NoClassDefFoundError: Could not initialize class de.hybris.platform.util.Utilities Total time: 8 seconds /opt/hybris/bin/platform/resources/ant/antmacros.xml:680: Java returned: 1 /opt/hybris/bin/platform/resources/ant/platformadministration.xml:99: The following error occurred while executing this line: /opt/hybris/bin/platform/build.xml:139: The following error occurred while executing this line:BUILD FAILED + echo '*' + printMessage 'TYPESYSTEM UPDATE FAILED.'
|
OR
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager ... Caused by: java.lang.ExceptionInInitializerError: Exception org.apache.logging.log4j.core.config.ConfigurationException: No name attribute provided for Logger loggerForDefaultFacetSearchStrategy [in thread "main"] ... Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager [in thread "main"]
|
Read more...
Environment
Product
SAP Commerce Cloud all versions
Keywords
commerce, cloud, ccv2, log4j, initialize, class, de.hybris.platform.util.Utilities, Utilities, org.apache.log4j.LogManager, LogManager, attribute, Logger, java.lang.NoClassDefFoundError, java.lang.ExceptionInInitializerError , KBA , CEC-SCC-CLA-DEP , Deployments , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click
more to access the full version on SAP for Me (Login
required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.