java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver

Jenkins JIRA | Jim McCaskey | 5 years ago
  1. 0

    JDK autoinstall does not seem to work

    Google Groups | 5 years ago | Patrick Renaud
    java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
  2. 0

    It appears that JDK auto install has been broken since version 1.433. It last worked on version 1.432. Below is the error that you get when it tries to auto install the JDK. {code} Installing JDK jdk-6u24-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/6u24-b07//jdk-6u24-windows-x64.exe FATAL: org/apache/xml/utils/PrefixResolver java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver at com.gargoylesoftware.htmlunit.html.DomNamespaceNode.getLocalName(DomNamespaceNode.java:81) at com.gargoylesoftware.htmlunit.html.HtmlElement.getNodeName(HtmlElement.java:308) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.addNodeToRightParent(HTMLParser.java:636) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:610) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1126) at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:734) at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:136) at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:278) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2697) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2013) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:901) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:350) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:304) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:134) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at hudson.tools.JDKInstaller.locate(JDKInstaller.java:369) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150) at hudson.model.JDK.forNode(JDK.java:112) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:822) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:155) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:673) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) ... 40 more {code}

    Jenkins JIRA | 5 years ago | Jim McCaskey
    java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    It appears that JDK auto install has been broken since version 1.433. It last worked on version 1.432. Below is the error that you get when it tries to auto install the JDK. {code} Installing JDK jdk-6u24-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/6u24-b07//jdk-6u24-windows-x64.exe FATAL: org/apache/xml/utils/PrefixResolver java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver at com.gargoylesoftware.htmlunit.html.DomNamespaceNode.getLocalName(DomNamespaceNode.java:81) at com.gargoylesoftware.htmlunit.html.HtmlElement.getNodeName(HtmlElement.java:308) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.addNodeToRightParent(HTMLParser.java:636) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:610) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1126) at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:734) at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:136) at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:278) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2697) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2013) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:901) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:350) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:304) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:134) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at hudson.tools.JDKInstaller.locate(JDKInstaller.java:369) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150) at hudson.model.JDK.forNode(JDK.java:112) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:822) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:155) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:673) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.lang.ClassNotFoundException: org.apache.xml.utils.PrefixResolver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) ... 40 more {code}

    Jenkins JIRA | 5 years ago | Jim McCaskey
    java.lang.NoClassDefFoundError: org/apache/xml/utils/PrefixResolver
  5. 0

    Issue loading FortifyClient for 2.6.5

    GitHub | 3 years ago | dblood
    java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient

  1. andyglick 2 times, last 4 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.xml.utils.PrefixResolver

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. java.lang.ClassLoader.loadClass(Unknown Source)
    5 frames
  3. winstone.classLoader
    WebappClassLoader.loadClass
    1. winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:83)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    1 frame
  5. HtmlUnit
    HTMLParser$HtmlUnitDOMBuilder.startElement
    1. com.gargoylesoftware.htmlunit.html.DomNamespaceNode.getLocalName(DomNamespaceNode.java:81)
    2. com.gargoylesoftware.htmlunit.html.HtmlElement.getNodeName(HtmlElement.java:308)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.addNodeToRightParent(HTMLParser.java:636)
    4. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:610)
    4 frames
  6. Xerces2-j
    AbstractSAXParser.startElement
    1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    1 frame
  7. Maven
    HTMLConfiguration.parse
    1. org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1126)
    2. org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:734)
    3. org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:136)
    4. org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:278)
    5. org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2697)
    6. org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2013)
    7. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:907)
    8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
    9. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
    9 frames
  8. Xerces2-j
    XMLParser.parse
    1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    1 frame
  9. HtmlUnit
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:901)
    2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:350)
    3. com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:304)
    4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:134)
    5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
    6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:449)
    7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
    8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
    8 frames
  10. Hudson
    AbstractBuild.getEnvironment
    1. hudson.tools.JDKInstaller.locate(JDKInstaller.java:369)
    2. hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:125)
    3. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
    4. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
    5. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150)
    6. hudson.model.JDK.forNode(JDK.java:112)
    7. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:822)
    7 frames
  11. Hudson Maven Embedder
    MavenModuleSetBuild.getEnvironment
    1. hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:59)
    2. hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:155)
    2 frames
  12. Hudson
    Run.run
    1. hudson.scm.SubversionSCM.checkout(SubversionSCM.java:673)
    2. hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
    3. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567)
    4. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455)
    5. hudson.model.Run.run(Run.java:1404)
    5 frames
  13. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
    1 frame
  14. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:230)
    2 frames