我创建了一个XML数据源,用于从本地应用程序获取XML数据。当创建一个数据集时,我得到以下错误。BIRT:无法检索XML数据源。 XML数据源文件无效或文件不存在
org.eclipse.datatools.connectivity.oda.OdaException: XML data source cannot be retrieved. XML data source file is invalid or the file doesn't exist.
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.populateXMLTree(XPathChoosePage.java:482)
at org.eclipse.datatools.enablement.oda.xml.ui.wizards.XPathChoosePage.createPageCustomControl(XPathChoosePage.java:121)
at org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage.createControl(DataSetWizardPage.java:123)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1182)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1241)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1238)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1227)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1225)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
的XML URL retuns以下数据:
<table>
<row>
<marketName>dd</marketName>
<commodityName>Black Barley</commodityName>
<priceType>Wholesale</priceType>
<pricePerQtl>58.0</pricePerQtl>
<date>2014-07-03 15:18:21</date>
</row>
</table>
你能提供更多的细节,如软件的版本? – Miki
@Miki春天工具套件 版本:3.5.1.RELEASE 版本ID:201405030657 平台:Eclipse的开普勒SR2(4.3.2) –
我可以根据您的数据在BIRT 4.3.2报告生成。您是否仅在应用程序或BIRT设计器中遇到问题? – Miki