[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp] Re: AnnValidator missing from Ganymede Update

I should be more specific. The error in my fist post occurred after I removed the annValidator.jar from the plugins directory and restarted eclipse. With the jar in the plugins directory, the log shows the following at startup:

-----------------------------------------------
eclipse.buildId=M20080911-1700
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui.workbench 2 0 2008-10-08 15:01:48.806
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-08 15:01:48.806
!MESSAGE Conflict for 'org.eclipse.gmf.ValidateAction':
HandlerActivation(commandId=org.eclipse.gmf.ValidateAction,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.stp.eid.datamodel.diagram.part.CimeroEditorValidateAction),
	expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@107c615),sourcePriority=16384)
HandlerActivation(commandId=org.eclipse.gmf.ValidateAction,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.stp.sca.diagram.part.SCADiagramValidateAction),
	expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@107c615),sourcePriority=16384)


And then when I go to my JAX-WS project, right click on the annotated class I wish to make a webservice from and then choose "JAX-WS Tools">"Create Web Service" I see:


!ENTRY org.eclipse.osgi 2 0 2008-10-08 15:05:05.150
!MESSAGE The activator org.eclipse.stp.sc.sca.java.ScaJavaPlugin for bundle org.eclipse.stp.sc.sca.java is invalid
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.stp.sc.sca.java.ScaJavaPlugin for bundle org.eclipse.stp.sc.sca.java is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:146)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:980)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:234)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.stp.sc.common.annotations.ext.AnnotationSupportProxy.loadAnnotationResolver(AnnotationSupportProxy.java:91)
at org.eclipse.stp.sc.common.annotations.ext.AnnotationSupportProxy.<clinit>(AnnotationSupportProxy.java:58)
at org.eclipse.stp.sc.common.annotations.ScAnnotationSupportUtils.getAnnotationClassesForJavaElement(ScAnnotationSupportUtils.java:188)
at org.eclipse.stp.sc.common.annotations.ScAnnotationSupportUtils.getAvailableAnnotationsForClass(ScAnnotationSupportUtils.java:54)
at org.eclipse.stp.sc.common.annotations.ScAnnotationSupportUtils.getAvailableAnnotationsForType(ScAnnotationSupportUtils.java:87)
at org.eclipse.stp.sc.common.annotations.ScAnnotationSupportUtils.isAnnotationValidForMember(ScAnnotationSupportUtils.java:175)
at org.eclipse.stp.sc.common.annotations.ScAnnotationSupportUtils.getDefaultedAnnotationNode(ScAnnotationSupportUtils.java:146)
at org.eclipse.stp.sc.jaxws.wizards.annotations.AnnotationAttributePage.initializeFromDefault(AnnotationAttributePage.java:211)
at org.eclipse.stp.sc.jaxws.wizards.annotations.AnnotationAttributePage.createAttributeGroup(AnnotationAttributePage.java:182)
at org.eclipse.stp.sc.jaxws.wizards.annotations.AnnotationAttributePage.createControl(AnnotationAttributePage.java:126)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
at org.eclipse.stp.sc.jaxws.wizards.ScWizardDialog.createContents(ScWizardDialog.java:43)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.eclipse.stp.sc.jaxws.actions.CreateWebServiceAction.run(CreateWebServiceAction.java:63)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
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.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.ClassNotFoundException: org.eclipse.stp.sc.sca.java.ScaJavaPlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:139)
... 56 more
Root exception:
java.lang.ClassNotFoundException: org.eclipse.stp.sc.sca.java.ScaJavaPlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)



And when I right click on the root of my JAX-WS project and go to "JAX-WS Tools">"Generate WSDL" I see:


!ENTRY org.eclipse.osgi 2 0 2008-10-08 15:07:39.556
!MESSAGE The activator org.eclipse.stp.sc.annvalidator.AnnValidatorPlugin for bundle org.eclipse.stp.sc.annvalidator is invalid
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.stp.sc.annvalidator.AnnValidatorPlugin for bundle org.eclipse.stp.sc.annvalidator is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:146)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:980)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:234)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.core.internal.events.BuildManager.instantiateBuilder(BuildManager.java:788)
at org.eclipse.core.internal.events.BuildManager.initializeBuilder(BuildManager.java:741)
at org.eclipse.core.internal.events.BuildManager.getBuilder(BuildManager.java:480)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
at org.eclipse.core.internal.resources.Project.build(Project.java:94)
at org.eclipse.stp.sc.jaxws.actions.AssignedJava2WsdlAction.run(AssignedJava2WsdlAction.java:41)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
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.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.ClassNotFoundException: org.eclipse.stp.sc.annvalidator.AnnValidatorPlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:139)
... 50 more
Root exception:
java.lang.ClassNotFoundException: org.eclipse.stp.sc.annvalidator.AnnValidatorPlugin



So what I am doing so wrong that I am missing all these classes?

Thanks!