java.lang.NoClassDefFoundError: org/w3c/dom/DOMError

Spring JIRA | Imported | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The Spring IDE plugin apparently now requires the {code}org.w3c.dom.DOMError{code} class, which is only present in Java 1.5. Stack Trace that occurs when attempting to open the Spring IDE view: {code} java.lang.NoClassDefFoundError: org/w3c/dom/DOMError at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:309) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:184) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:228) at org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at java.util.AbstractMap.toString(AbstractMap.java:589) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.springframework.ide.eclipse.beans.ui.model.ProjectNode.toString(ProjectNode.java:229) at org.springframework.ide.eclipse.beans.ui.views.BeansView####2.compare(BeansView.java:142) at org.eclipse.jface.viewers.ViewerSorter####1.compare(ViewerSorter.java:177) at java.util.Arrays.mergeSort(Arrays.java:1278) at java.util.Arrays.sort(Arrays.java:1219) at org.eclipse.jface.viewers.ViewerSorter.sort(ViewerSorter.java:175) at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:909) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:1707) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1268) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1245) {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.NoClassDefFoundError: org/w3c/dom/DOMError
  2. 0

    The Spring IDE plugin apparently now requires the {code}org.w3c.dom.DOMError{code} class, which is only present in Java 1.5. Stack Trace that occurs when attempting to open the Spring IDE view: {code} java.lang.NoClassDefFoundError: org/w3c/dom/DOMError at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:309) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:184) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:228) at org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at java.util.AbstractMap.toString(AbstractMap.java:589) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.springframework.ide.eclipse.beans.ui.model.ProjectNode.toString(ProjectNode.java:229) at org.springframework.ide.eclipse.beans.ui.views.BeansView####2.compare(BeansView.java:142) at org.eclipse.jface.viewers.ViewerSorter####1.compare(ViewerSorter.java:177) at java.util.Arrays.mergeSort(Arrays.java:1278) at java.util.Arrays.sort(Arrays.java:1219) at org.eclipse.jface.viewers.ViewerSorter.sort(ViewerSorter.java:175) at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:909) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:1707) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1268) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1245) {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.NoClassDefFoundError: org/w3c/dom/DOMError

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/w3c/dom/DOMError

      at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions()
    2. org.springframework.ide
      ConfigNode.toString
      1. org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:110)
      2. org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:51)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:309)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeans(BeansConfig.java:184)
      5. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.toString(BeansConfig.java:228)
      6. org.springframework.ide.eclipse.beans.ui.model.ConfigNode.toString(ConfigNode.java:165)
      6 frames
    3. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2131)
      2. java.lang.StringBuffer.append(StringBuffer.java:370)
      3. java.util.AbstractMap.toString(AbstractMap.java:589)
      4. java.lang.String.valueOf(String.java:2131)
      5. java.lang.StringBuffer.append(StringBuffer.java:370)
      5 frames
    4. org.springframework.ide
      ProjectNode.toString
      1. org.springframework.ide.eclipse.beans.ui.model.ProjectNode.toString(ProjectNode.java:229)
      1 frame