ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Commented: (IVYDE-79) Loading config causes BuildException and eclipse freaks out
Date Wed, 27 Feb 2008 08:42:51 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572830#action_12572830
] 

Nicolas Lalevée commented on IVYDE-79:
--------------------------------------

So does IVYDE-80 fixed this one ?

> Loading config causes BuildException and eclipse freaks out
> -----------------------------------------------------------
>
>                 Key: IVYDE-79
>                 URL: https://issues.apache.org/jira/browse/IVYDE-79
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 1.3.0
>         Environment: eclipse 3.3.1.1, openSuse 10.3
>            Reporter: Jonathan Doklovic
>
> When I set the ivy settings file in preferences, I get an error in eclipse.
> It seems like ivyde has problems parsing my settings file even though it works fine from
ant.
> Unfortunately, the error in eclipse is: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
> so i can't really get at the "real" issue.
> The error occurs anytime ivyde needs to parse the settings.
> For space sake, here's the stack trace when i try to resolve:
> !ENTRY org.eclipse.core.jobs 4 2 2008-02-22 13:05:28.439
> !MESSAGE An internal error occurred during: "Resolve all dependencies".
> !STACK 0
> java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> 	at java.lang.Class.getConstructor0(Class.java:2699)
> 	at java.lang.Class.newInstance0(Class.java:326)
> 	at java.lang.Class.newInstance(Class.java:308)
> 	at org.apache.ivy.util.Configurator.addChild(Configurator.java:548)
> 	at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:477)
> 	at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:177)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1337)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> 	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> 	at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
> 	at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:92)
> 	at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:84)
> 	at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:350)
> 	at org.apache.ivy.Ivy.configure(Ivy.java:254)
> 	at org.apache.ivyde.eclipse.IvyPlugin.refreshIvyConfiguration(IvyPlugin.java:289)
> 	at org.apache.ivyde.eclipse.IvyPlugin.getIvy(IvyPlugin.java:209)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.computeClasspathEntries(IvyClasspathContainer.java:524)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.resolve(IvyClasspathContainer.java:548)
> 	at org.apache.ivyde.eclipse.ui.actions.ResolveAllAction$1.run(ResolveAllAction.java:43)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.BuildException
> 	at java.lang.ClassLoader.findClass(ClassLoader.java:358)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
> 	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 	... 31 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message