on 2018 Jun 19 9:07 PM
while runcense.bat -temp CPS_SQL getting Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/velocity/app/Velocity at de.hybris.platform.util.VelocityHelper.init(VelocityHelper.java:31)
Request clarification before answering.
We've previously experienced a bug in the classpath for the license.bat file. SAP had updated the Spring version used but not reflected this change in license.bat
E.g. for Hybris 6.1.0.2 we run this replacement before running the license.bat file
sed -i 's/\(spring-\w\+-4\.1\)\.7/\1.9/g' /opt/hybris/bin/platform/license.sh
You could also just edit the file manually to change 4.1.7 to 4.1.9 (or whatever the correct version is)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.