As like previous blogs, am sharing the things which am facing while am doing any development related to Hybris. Like wise, In this blog-I would like to share the error which I have faced while setup the datahub in my local system. I got the below error, while I started the tomcat server.
The Error is:
2019-10-23 16:11:16,479 [ERROR] [o.s.w.c.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultSSLValidationService' defined in class path resource [META-INF/datahub-service-validation-spring.xml]: Invocation of init method failed; nested exception is com.hybris.datahub.validation.SSLConfigurationException: Data Hub cannot start if 'datahub.server.url' does not start with https.
The simple solution for the above error is please add the below line in your local.properties which is configured in datahub folder.
Now start the Apache Tomcat Server. Your server got started and your able to access the below links as well.