Skip to Content

ant updatesystem fails due to java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal

HI,

I am getting this error and could not resolve it. The xml-apis version is 1.4.01 and I am running SAP Commerce Version 6.7.

I appreciate any help!

Here's the error log:

[input] skipping input as property tenant has already been set.
    [mkdir] Created dir: /Users/mdeang/work/repositories/balsambrands-hybris-6.7/hybris/temp/hybris/client
     [java] ---------------------------------------------------------------
     [java] Warning: you're using at least one deprecated extension!
     [java] Please note that they may not be available in future releases.
     [java]
     [java] Deprecated extensions: [admincockpit, bmecat, classificationsystems, cmscockpit, cockpit, cscockpit, hmc, importcockpit, liveeditaddon, mcc, oci, platformhmc, productcockpit, reportcockpit, virtualjdbc]
     [java] ---------------------------------------------------------------
     [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at de.hybris.bootstrap.loader.Loader.execute(Loader.java:142)
     [java] 	at de.hybris.bootstrap.loader.Loader.main(Loader.java:118)
     [java] Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
     [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
     [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
     [java] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.findClass(YURLClassLoader.java:71)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.loadRegisterAndResolveClass(YURLClassLoader.java:133)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.loadClass(YURLClassLoader.java:121)
     [java] 	at de.hybris.bootstrap.loader.PlatformInPlaceClassLoader.loadClass(PlatformInPlaceClassLoader.java:88)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     [java] 	at org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source)
     [java] 	at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
     [java] 	at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
     [java] 	at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source)
     [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [java] 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     [java] 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     [java] 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     [java] 	at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:474)
     [java] 	at de.hybris.bootstrap.config.PlatformConfig.isAutoLoad(PlatformConfig.java:830)
     [java] 	at de.hybris.bootstrap.config.PlatformConfig.collectConfiguredExtensionsFromXMLConfig(PlatformConfig.java:1033)
     [java] 	at de.hybris.bootstrap.config.PlatformConfig.collectConfiguredExtensions(PlatformConfig.java:953)
     [java] 	at de.hybris.bootstrap.config.PlatformConfig.<init>(PlatformConfig.java:139)
     [java] 	at de.hybris.bootstrap.config.PlatformConfig.getInstance(PlatformConfig.java:128)
     [java] 	at de.hybris.bootstrap.config.ConfigUtil.getPlatformConfig(ConfigUtil.java:659)
     [java] 	at de.hybris.bootstrap.config.ConfigUtil.loadLog4JProperties(ConfigUtil.java:674)
     [java] 	at de.hybris.platform.core.Log4JUtils.readConfig(Log4JUtils.java:102)
     [java] 	at de.hybris.platform.core.Log4JUtils.startup(Log4JUtils.java:56)
     [java] 	at de.hybris.platform.util.Utilities.<clinit>(Utilities.java:119)
     [java] 	at de.hybris.platform.util.logging.log4j2.HybrisLog4j2ConfigurationFactory.getConfiguration(HybrisLog4j2ConfigurationFactory.java:55)
     [java] 	at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:353)
     [java] 	at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:260)
     [java] 	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:613)
     [java] 	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634)
     [java] 	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229)
     [java] 	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
     [java] 	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
     [java] 	at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
     [java] 	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:122)
     [java] 	at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
     [java] 	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46)
     [java] 	at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
     [java] 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
     [java] 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
     [java] 	at de.hybris.platform.core.threadregistry.ThreadRegistry.<clinit>(ThreadRegistry.java:34)
     [java] 	at de.hybris.platform.core.threadregistry.SuspendResumeServices.<clinit>(SuspendResumeServices.java:28)
     [java] 	at de.hybris.platform.core.threadregistry.RegistrableThread.registerThread(RegistrableThread.java:104)
     [java] 	at de.hybris.platform.core.threadregistry.RegistrableThread.registerThread(RegistrableThread.java:99)
     [java] 	at de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:31)
     [java] 	... 6 more
     [java] Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.findClass(YURLClassLoader.java:71)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.loadRegisterAndResolveClass(YURLClassLoader.java:133)
     [java] 	at de.hybris.bootstrap.loader.YURLClassLoader.loadClass(YURLClassLoader.java:121)
     [java] 	at de.hybris.bootstrap.loader.PlatformInPlaceClassLoader.loadClass(PlatformInPlaceClassLoader.java:88)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     [java] 	... 61 more
     [java] Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class de.hybris.platform.core.threadregistry.SuspendResumeServices
     [java] 	at de.hybris.platform.core.threadregistry.RegistrableThread.registerThread(RegistrableThread.java:104)
     [java] 	at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:131
Add comment
10|10000 characters needed characters exceeded

0 Answers