on 08-23-2016 3:56 PM
HI
I am using hybris 6.1 version . I am using command promt **licence.bat command enter this error showing how to resolve this issue. can you someone help me please:
C:\Hybris_Commerce_Suite.6.1\hybris\bin\platform>license.bat 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:2923) at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:55) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:428) at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:257) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:519) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:536) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:214) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:146) at de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory.getContext(HybrisLog4j2LoggerContextFactory.java:29) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:185) 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:281) at de.hybris.platform.util.logging.HybrisLogger.(HybrisLogger.java:103) at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance(HybrisLoggerFactory.java:32) 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:104) at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:57) at de.hybris.platform.util.Utilities.(Utilities.java:124) at de.hybris.platform.licence.sap.DefaultKeySystem.loadPlatformProperties(DefaultKeySystem.java:62) at de.hybris.platform.licence.sap.DefaultKeySystem.(DefaultKeySystem.java:49) at de.hybris.platform.licence.sap.HybrisAdmin.main(HybrisAdmin.java:47) Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 27 more
Hi Ravi
Which exact version are you working on? (4 digits number, for example 6.1.0.0).
It looks like an old ECP which is already resloved:
https://jira.hybris.com/browse/ECP-729
And you can also take a look at :License.bat uses old Spring jars in 5.7.0.0
For further research, I will ask you to offer the "SET SPRING_LIB" part of your license.bat file
Thanks
Yan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.