Skip to Content
author's profile photo Former Member
Former Member

licence key instalation

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2016 at 03:29 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.