java.lang.ClassNotFoundException: xml

Atlassian JIRA | William Crighton [CCC] | 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

    When I try the build the jira 3.0 source release I get the error which appears below. Note: I have successfully built every source release (since 2.6.1) previously made available from atlassian.com. This has been 10 or so source releases. To build each release I have downloaded the tar.gz file to my windows xp machine (though this time I have tried both the tar.gz and the zip with the same results) and unzipped the release to a directory. I change to the jira directory and modify files as detailed below before the error output). Then I execute the command: maven jira:release-enterprise Note: the same error below is returned if I only issue the command 'maven'. Build file modifications: goto www.atlassian.com, search for make instuctions and note them http://www.atlassian.com/software/jira/docs/latest/building.html unzip the file to a directory and modify the build file (jira/maven.xml) slightly 1) search for the following text: - this allows you to build the api documentation <attainGoal name="test:mail-report"/> and copy the following text replacing the line you searched for <!-- <attainGoal name="test:mail-report"/> --> 2) search for the following text: <fileset dir="${ant.location}/ant-${ant.version}"/> and copy the following text replacing the line you searched for <fileset dir="${ant.location}"/> 3) add the following lines to jira/build.properties (note - I haven't figured out yet how to turn off warnings...the last two lines try to do this, but it doesn't seem to work yet): build.compiler=jikes ant.location=c:/apache-ant-1.6.2 build.compiler.warnings=false nowarn=true 4) download and install apache ant to the default directory --- contents of build.properties: maven.repo.remote=file:../lib,http://repository.atlassian.com,http://www.ibiblio.org/maven maven.test.skip=true build.compiler=jikes ant.location=c:/apache-ant-1.6.2 build.compiler.warnings=false nowarn=true --- Error: C:\wac\clients\newisys\dev\jira-source-3.0\jira>maven jira:release-enterprise __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc4 Could not find the class: org.apache.commons.jelly.tags.xml.XMLTagLibrary java.lang.ClassNotFoundException: org.apache.commons.jelly.tags.xml.XMLTagLibrary at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:425) at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Underlying exception: java.lang.ClassNotFoundException: xml java.lang.ClassNotFoundException: xml at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Could not create taglib or URI: jelly:xml tag name: set java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1044) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Underlying exception: java.lang.ClassNotFoundException: xml java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1044) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1256) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1090) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg maven -e jar - search the maven-user archives for the error at http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org - post the output of maven -e to JIRA at http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time: 2 seconds Finished at: Sun Oct 17 22:54:45 CDT 2004

    Atlassian JIRA | 1 decade ago | William Crighton [CCC]
    java.lang.ClassNotFoundException: xml
  2. 0

    When I try the build the jira 3.0 source release I get the error which appears below. Note: I have successfully built every source release (since 2.6.1) previously made available from atlassian.com. This has been 10 or so source releases. To build each release I have downloaded the tar.gz file to my windows xp machine (though this time I have tried both the tar.gz and the zip with the same results) and unzipped the release to a directory. I change to the jira directory and modify files as detailed below before the error output). Then I execute the command: maven jira:release-enterprise Note: the same error below is returned if I only issue the command 'maven'. Build file modifications: goto www.atlassian.com, search for make instuctions and note them http://www.atlassian.com/software/jira/docs/latest/building.html unzip the file to a directory and modify the build file (jira/maven.xml) slightly 1) search for the following text: - this allows you to build the api documentation <attainGoal name="test:mail-report"/> and copy the following text replacing the line you searched for <!-- <attainGoal name="test:mail-report"/> --> 2) search for the following text: <fileset dir="${ant.location}/ant-${ant.version}"/> and copy the following text replacing the line you searched for <fileset dir="${ant.location}"/> 3) add the following lines to jira/build.properties (note - I haven't figured out yet how to turn off warnings...the last two lines try to do this, but it doesn't seem to work yet): build.compiler=jikes ant.location=c:/apache-ant-1.6.2 build.compiler.warnings=false nowarn=true 4) download and install apache ant to the default directory --- contents of build.properties: maven.repo.remote=file:../lib,http://repository.atlassian.com,http://www.ibiblio.org/maven maven.test.skip=true build.compiler=jikes ant.location=c:/apache-ant-1.6.2 build.compiler.warnings=false nowarn=true --- Error: C:\wac\clients\newisys\dev\jira-source-3.0\jira>maven jira:release-enterprise __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc4 Could not find the class: org.apache.commons.jelly.tags.xml.XMLTagLibrary java.lang.ClassNotFoundException: org.apache.commons.jelly.tags.xml.XMLTagLibrary at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:425) at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Underlying exception: java.lang.ClassNotFoundException: xml java.lang.ClassNotFoundException: xml at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Could not create taglib or URI: jelly:xml tag name: set java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1044) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Underlying exception: java.lang.ClassNotFoundException: xml java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1044) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) java.lang.ClassNotFoundException: xml at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1256) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1090) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146) at org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938) at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg maven -e jar - search the maven-user archives for the error at http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org - post the output of maven -e to JIRA at http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time: 2 seconds Finished at: Sun Oct 17 22:54:45 CDT 2004

    Atlassian JIRA | 1 decade ago | William Crighton [CCC]
    java.lang.ClassNotFoundException: xml
  3. 0

    Maven Error With Libraries

    Stack Overflow | 1 year ago | jeet
    java.lang.ClassNotFoundException: velocity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      xml

      at org.apache.commons.jelly.parser.XMLParser.createSAXException()
    2. commons-jelly
      XMLParser.startElement
      1. org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234)
      2. org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1256)
      3. org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1090)
      4. org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
      4 frames
    3. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9 frames
    4. commons-jelly
      XMLParser.parse
      1. org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:299)
      1 frame
    5. org.apache.maven
      JellyUtils.compileScript
      1. org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:222)
      2. org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:180)
      3. org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:146)
      3 frames
    6. Maven Plugin
      PluginManager.attainGoals
      1. org.apache.maven.plugin.PluginManager.loadScript(PluginManager.java:938)
      2. org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:958)
      3. org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:597)
      3 frames
    7. Maven Core
      MavenSession.attainGoals
      1. org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
      1 frame
    8. M3 Interceptor
      App.main
      1. org.apache.maven.cli.App.doMain(App.java:486)
      2. org.apache.maven.cli.App.main(App.java:1215)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    10. com.werken.forehead
      Forehead.main
      1. com.werken.forehead.Forehead.run(Forehead.java:551)
      2. com.werken.forehead.Forehead.main(Forehead.java:581)
      2 frames