on 08-14-2019 7:02 PM
INFO [localhost-startStop-1] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (875.9 ms) de.hybris.platform.core.UninstantiableCoreApplicationContextException: Error creating Spring application context. at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:756) at de.hybris.platform.core.AbstractTenant.doStartUp(AbstractTenant.java:685) at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:658) at de.hybris.platform.core.Registry.activateTenant(Registry.java:719) at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:566) at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:626) at de.hybris.platform.core.Registry.startup(Registry.java:444) at de.hybris.platform.core.ClassLoaderUtils.executeWithWebClassLoaderParentIfNeeded(ClassLoaderUtils.java:42) at de.hybris.platform.spring.HybrisContextLoaderListener.startRegistry(HybrisContextLoaderListener.java:325) at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:211) at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:95) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) 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: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [global-core-spring.xml]; nested exception is java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
Please suggest
It looks similar to this Github issue. Search for xml-apis in your workspace and update the Maven dependency as mentioned at this page.
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
If this xml-apis version doesn't work, you can try with a higher version as mentioned at https://mvnrepository.com/artifact/xml-apis/xml-apis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes it worked
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.