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

licence key instalation


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( at de.hybris.platform.util.Utilities.loadPlatformProperties( at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration( at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration( at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration( at org.apache.logging.log4j.core.LoggerContext.reconfigure( at org.apache.logging.log4j.core.LoggerContext.reconfigure( at org.apache.logging.log4j.core.LoggerContext.start( at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext( at de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory.getContext( at org.apache.logging.log4j.LogManager.getContext( at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext( at org.apache.logging.slf4j.Log4jLoggerFactory.getContext( at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger( at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger( at org.slf4j.LoggerFactory.getLogger( at de.hybris.platform.util.logging.HybrisLogger.( at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance( at org.apache.log4j.Hierarchy.getLogger( at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers( at org.apache.log4j.PropertyConfigurator.doConfigure( at de.hybris.platform.core.Log4JUtils.readConfig( at de.hybris.platform.core.Log4JUtils.startup( at de.hybris.platform.util.Utilities.( at at at Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext at 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

    It looks like an old ECP which is already resloved:

    And you can also take a look at :License.bat uses old Spring jars in

    For further research, I will ask you to offer the "SET SPRING_LIB" part of your license.bat file



    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.