Symptom
Executing the license installation script the following exception is thrown:
| Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext at de.hybris.platform.util.Utilities.assureCoreUtilities(Utilities.java:219) at de.hybris.platform.util.Utilities.loadPlatformProperties(Utilities.java:2924) at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:55) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:427) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:265) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:599) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:226) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at de.hybris.platform.util.logging.HybrisLogger.<init>(HybrisLogger.java:104) at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance(HybrisLoggerFactory.java:31) at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:275) at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:670) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516) at de.hybris.platform.core.Log4JUtils.readConfig(Log4JUtils.java:103) at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:56) at de.hybris.platform.util.Utilities.<clinit>(Utilities.java:124) at de.hybris.platform.licence.sap.DefaultKeySystem.loadPlatformProperties(DefaultKeySystem.java:61) at de.hybris.platform.licence.sap.DefaultKeySystem.<init>(DefaultKeySystem.java:48) at de.hybris.platform.licence.sap.HybrisAdmin.main(HybrisAdmin.java:46) Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 27 more |
Read more...
Environment
Hybris Commerce Suite version 6.4.0.6
Product
SAP Hybris Commerce 6.4
Keywords
KBA , CEC-SCC-PLA-PL , Platform , 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.
SAP Knowledge Base Article - Preview