cancel
Showing results for 
Search instead for 
Did you mean: 

Caused by: de.hybris.bootstrap.config.BootstrapConfigException: Can not determine platformhome

kraghu514
Discoverer
0 Kudos

Hi All, i have clone source code from Git repository, created link to OOTB code, ant clean all executed successfully, when i starting the server i got bellow error can you please look into and help to resolve the issue.

 SEVERE: Error configuring application listener of class de.hybris.platform.spring.HybrisContextLoaderListener
 java.lang.ExceptionInInitializerError
         at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:55)
         at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:427)
         at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:265)
         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:599)
         at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:620)
         at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:226)
         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
         at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
         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:358)
         at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:669)
         at de.hybris.platform.spring.HybrisContextLoaderListener.<clinit>(HybrisContextLoaderListener.java:70)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
         at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:149)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5073)
         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)
         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)
         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run(Thread.java:748)
 Caused by: de.hybris.bootstrap.config.BootstrapConfigException: Can not determine platformhome
         at de.hybris.bootstrap.config.ConfigUtil.getPlatformHome(ConfigUtil.java:165)
         at de.hybris.bootstrap.config.ConfigUtil.getPlatformConfig(ConfigUtil.java:640)
         at de.hybris.bootstrap.config.ConfigUtil.loadLog4JProperties(ConfigUtil.java:655)
         at de.hybris.platform.core.Log4JUtils.readConfig(Log4JUtils.java:102)
         at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:56)
         at de.hybris.platform.util.Utilities.<clinit>(Utilities.java:126)
         ... 31 more
 Caused by: de.hybris.bootstrap.config.BootstrapConfigException: Can not find path to core-items.xml (C:\R F_US_R2_INSTA\HYBRISCOMM6500P_19-80003045\hybris\bin\platform\ext\core\resources\core-items.xml)
         at de.hybris.bootstrap.config.ConfigUtil.getPlatformHome(ConfigUtil.java:133)
         ... 36 more

Thanks , i appreciate to help, Raghu.

Accepted Solutions (1)

Accepted Solutions (1)

former_member620692
Active Contributor
0 Kudos

Your folder name, R F_US_R2_INSTA may be the root cause. You should avoid a folder name that has space. Please move HYBRISCOMM6500P_19-80003045 folder to the root drive ( C: ) or in a folder that does not have a space, e.g. Hybris.

Answers (0)