Plugin lib issue [message #137323] |
Wed, 01 March 2006 02:51  |
Eclipse User |
|
|
|
Originally posted by: jan.tanis.coas.com
Hi,
I have a plugin that needs the Axis lib, I've placed it in the plugin
folder in the lib directory as you can see by the plugin.xml below.
However, when I use the plugin the log file says:
!ENTRY org.eclipse.ui 4 0 2006-03-01 08:49:12.125
!MESSAGE org/apache/axis/client/Call
!STACK 0
java.lang.NoClassDefFoundError: org/apache/axis/client/Call
at
org.eclipse.birt.report.data.oda.soap.ui.wizards.SoapDataSet Wizard. <init>(SoapDataSetWizard.java:18)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:162)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at
org.eclipse.birt.report.designer.ui.odadatasource.wizards.Da taSetBasePage.getNextPage(DataSetBasePage.java:355)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction .run(NewDataSetAction.java:123)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerApplication.java:36)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Here is the plugin.xml:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.eclipse.birt.report.data.oda.soap.ui"
name="BIRT SOAP UI Plug-in"
version="2.0.0"
provider-name="COAS Software Systems BV"
class="org.eclipse.birt.report.data.oda.soap.ui.UiPlugin">
<runtime>
<library name="soap-oda-ui.jar">
<export name="*"/>
</library>
<library name="lib/axis.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="org.eclipse.birt.report.data.oda.soap"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.birt.report.designer.ui"/>
<import plugin="org.eclipse.birt.report.model"/>
<import plugin="org.eclipse.birt.core"/>
<import plugin="org.eclipse.datatools.connectivity.oda"/>
</requires>
<extension
point="org.eclipse.birt.report.designer.ui.odadatasource">
<odaDataSourceUI id="org.eclipse.birt.report.data.oda.soap">
<newDataSourceWizard
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.SoapDataSou rceConnectionWizard "/>
<dataSourceEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.WSDLSelecti onPage "
displayName="SOAP Data Source"
name="selectWSDL"
path="/"/>
</odaDataSourceUI>
<odaDataSetUI id="org.eclipse.birt.report.data.oda.soap.dataSet"
addsDataSetParametersPage = "false">
<newDataSetWizard
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.SoapDataSet Wizard "/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.FunctionSel ectionPage "
displayName="Select Function"
name="selectFunction"/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.RecordSelec tionPage "
displayName="Select Record"
name="selectRecord"/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.ColumnMappi ngPage "
displayName="Column Mapping"
name="selectColumns"/>
</odaDataSetUI>
</extension>
</plugin>
|
|
|
|
Re: Plugin lib issue [message #137833 is a reply to message #137384] |
Thu, 02 March 2006 02:33  |
Eclipse User |
|
|
|
Originally posted by: jan.tanis.coas.com
Hi Jason,
I've changed my plugin.xml file to this:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.eclipse.birt.report.data.oda.soap.ui"
name="BIRT SOAP UI Plug-in"
version="2.0.0"
provider-name="COAS Software Systems BV"
class="org.eclipse.birt.report.data.oda.soap.ui.UiPlugin">
<runtime>
<library name="soap-oda-ui.jar">
<export name="*"/>
</library>
<library
name=" ..\org.eclipse.birt.report.viewer_2.0.0\birt\WEB-INF\lib\axi s.jar ">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="org.eclipse.birt.report.data.oda.soap"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.birt.report.designer.ui"/>
<import plugin="org.eclipse.birt.report.model"/>
<import plugin="org.eclipse.birt.core"/>
<import plugin="org.eclipse.datatools.connectivity.oda"/>
</requires>
<extension
point="org.eclipse.birt.report.designer.ui.odadatasource">
<odaDataSourceUI id="org.eclipse.birt.report.data.oda.soap">
<newDataSourceWizard
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.SoapDataSou rceConnectionWizard "/>
<dataSourceEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.WSDLSelecti onPage "
displayName="SOAP Data Source"
name="selectWSDL"
path="/"/>
</odaDataSourceUI>
<odaDataSetUI id="org.eclipse.birt.report.data.oda.soap.dataSet"
addsDataSetParametersPage = "false">
<newDataSetWizard
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.SoapDataSet Wizard "/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.FunctionSel ectionPage "
displayName="Select Function"
name="selectFunction"/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.RecordSelec tionPage "
displayName="Select Record"
name="selectRecord"/>
<dataSetEditorPage
class=" org.eclipse.birt.report.data.oda.soap.ui.wizards.ColumnMappi ngPage "
displayName="Column Mapping"
name="selectColumns"/>
</odaDataSetUI>
</extension>
</plugin>
but nothing did change, somehow it doesnt want to load an axis library.
I hope you can come up with a solution to this as I need the Axis
package during design time.
Best regards, Jan.
Jason Weathersby wrote:
> Jan,
>
> I am not sure why it is not finding it, but the axis.jar file is already in
> the required jars for BIRT. Can you try configuring your build path to
> point the axis jar in the viewer/web-inf/lib directory?
>
> Jason
|
|
|
Powered by
FUDForum. Page generated in 0.04267 seconds