New issue 49 by renat.zubairov: WSDL service can't be generated on the
Eclipse Galileo JEE and Swordfish Tooling
http://code.google.com/p/swordfish-tooling/issues/detail?id=49
What steps will reproduce the problem?
1. Download Eclipse Galileo JEE
2. From Galileo update site download Swordfish Tooling
3. Try to create a new WSDL-driven project
Will see following exception:
org.apache.cxf.tools.common.ToolException: Tools plugin provider jaxb
context init failed
at org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:88)
at
org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:72)
at
org.apache.cxf.tools.wsdlto.core.PluginLoader.getInstance(PluginLoader.java:121)
at org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:45)
at
org.eclipse.swordfish.tooling.ui.wizards.PluginContentWsdlGenerationOperation.execute(PluginC
ontentWsdlGenerationOperation.java:70)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.swordfish.tooling.ui.wizards.PluginContentWsdlWizardSection.generateFiles(PluginCo
ntentWsdlWizardSection.java:119)
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.execute(AbstractTemplateSection.java:394)
at
org.eclipse.pde.ui.templates.AbstractNewPluginTemplateWizard.performFinish(AbstractNewPlugi
nTemplateWizard.java:101)
at
org.eclipse.pde.internal.ui.wizards.plugin.NewProjectCreationOperation.execute(NewProjectCreat
ionOperation.java:299)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)
at
org.eclipse.pde.ui.templates.NewPluginProjectFromTemplateWizard.performFinish(NewPluginProj
ectFromTemplateWizard.java:141)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3542)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1270)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1076)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3440)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.ja
va:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3542)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1270)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1076)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3440)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher
.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 49 by BuHHunyx: WSDL service can't be generated on the
Eclipse Galileo JEE and Swordfish Tooling
http://code.google.com/p/swordfish-tooling/issues/detail?id=49
(No comment was entered for this change.)
Comment #2 on issue 49 by BuHHunyx: WSDL service can't be generated on the
Eclipse Galileo JEE and Swordfish Tooling
http://code.google.com/p/swordfish-tooling/issues/detail?id=49
Orbit: com.sun.xml.bind: no version specified for javax.xml.bind.* packages
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281494
Can we patch it with fragment bundle?
I tried following in fragment:
Import-Package:
javax.xml.bind;version="2.1",javax.xml.bind.annotation;version="2.1",javax.xml.bind.annotation.adapters;version="2.1",javax.xml.bind.attachment;version="2.1",javax.xml.bind.helpers;version="2.1"
But build failed:
[java] Constraints from the fragment conflict with the host:
Import-Pac
kage: javax.xml.bind; version="2.1.0"
[java] Constraints from the fragment conflict with the host:
Import-Pac
kage: javax.xml.bind.annotation; version="2.1.0"
[java] Constraints from the fragment conflict with the host:
Import-Pac
kage: javax.xml.bind.annotation.adapters; version="2.1.0"
[java] Constraints from the fragment conflict with the host:
Import-Pac
kage: javax.xml.bind.attachment; version="2.1.0"
[java] Constraints from the fragment conflict with the host:
Import-Pac
kage: javax.xml.bind.helpers; version="2.1.0"
Does this mean that we can't fix this issue in our source code?
Exactly