You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Lee Hanu (JIRA)" <ji...@apache.org> on 2007/03/26 19:11:33 UTC
[jira] Closed: (AXIS2-2298) Problem installing latest eclipse
plugins for Axis2 CodeGen and Axis2 Service Archiver.
[ https://issues.apache.org/jira/browse/AXIS2-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lee Hanu closed AXIS2-2298.
---------------------------
Resolution: Invalid
Hi all.
This is not an issue. This is just a classpath conflict in my environment.
I resolved this issue. The problem is Eclipse is pointing to 1.5.11 but in the classpath there was entry for jdk 1.3. that was added because of Oracle client installation. After I modified the environment variable to remove this 1.3 entry in the classpath this issue was resolved. This can be closed.
> Problem installing latest eclipse plugins for Axis2 CodeGen and Axis2 Service Archiver.
> ---------------------------------------------------------------------------------------
>
> Key: AXIS2-2298
> URL: https://issues.apache.org/jira/browse/AXIS2-2298
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: ide plugins
> Affects Versions: 1.1.1
> Environment: Windows XP professional.
> Axis2 1.1.1
> Eclipse 3.1(Same issue with Eclipse 3.2)
> Reporter: Lee Hanu
> Assigned To: Lahiru Sandakith
>
> I am using eclipse 3.1 and axis2 1.1.1. I am trying to install the axis2 plugins for eclipse. I deleted a the old plugin files as instructed in the readme.txt file and copied the latest plugin files to the eclipse/plugins folder and I get the following error when I try to start the plugin from eclipse.
> "Plug-in Axis2_Codegen_Wizard was unable to load class org.apache.axis2.tool.codegen.eclipse.CodeGenWizard."
> I earlier versions of the plugins worked fine for me. I had this problem after downlaoding and installing the latest Axis2 eclipse plugins. tried reverting back to the old versions of Eclipse plugins(Axis_Service_Archiver_1.0.0 && Axis2_Codegen_Wizard_1.2.0) and it works fine. But when I try to use the latest versions of the eclipse plugins(Axis2_Codegen_Wizard_1.2.1 && Axis_Service_Archiver_1.1.1) I am not able to start the plugins. I am having issues.
> The Stacktrace for the exception(from the eclipse log file) is as follows
> !ENTRY org.eclipse.osgi 4 0 2007-03-07 12:59:36.628
> !MESSAGE An error occurred while automatically activating bundle Axis2_Codegen_Wizard (399).
> !STACK 0
> org.osgi.framework.BundleException: The activator org.apache.axis2.tool.codegen.eclipse.plugin.CodegenWizardPlugin for bundle Axis2_Codegen_Wizard is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
> 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.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createExecutableExtension(WorkbenchWizardElement.java:117)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createWizard(WorkbenchWizardElement.java:261)
> at org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWizard(NewWizardNewPage.java:720)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(WorkbenchWizardNode.java:148)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(WorkbenchWizardNode.java:131)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:128)
> at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> 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:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.UnsupportedClassVersionError: org/apache/axis2/tool/codegen/eclipse/plugin/CodegenWizardPlugin (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:134)
> ... 70 more
> Root exception:
> java.lang.UnsupportedClassVersionError: org/apache/axis2/tool/codegen/eclipse/plugin/CodegenWizardPlugin (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:134)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
> 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.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createExecutableExtension(WorkbenchWizardElement.java:117)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.createWizard(WorkbenchWizardElement.java:261)
> at org.eclipse.ui.internal.dialogs.NewWizardNewPage$5.createWizard(NewWizardNewPage.java:720)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(WorkbenchWizardNode.java:148)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(WorkbenchWizardNode.java:131)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:128)
> at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
> at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
> at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> 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:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [jira] Closed: (AXIS2-2298) Problem installing latest eclipse plugins for Axis2 CodeGen and Axis2 Service Archiver.
Posted by Xinjun Chen <xj...@gmail.com>.
Hi Hanu,
I got the same problem. Can you explain what do you mean by "Eclipse is
pointing to 1.5.11"? What do you modify about environment variable, do you
mean OS environment variables? I also installed Oracle client 90, but I
don't see the classpath you mentioned. I only include C:\Program
Files\ora90\bin into the system path variable.
Regards,
Xinjun
On 3/27/07, Lee Hanu (JIRA) <ji...@apache.org> wrote:
>
>
> [
> https://issues.apache.org/jira/browse/AXIS2-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Lee Hanu closed AXIS2-2298.
> ---------------------------
>
> Resolution: Invalid
>
> Hi all.
>
> This is not an issue. This is just a classpath conflict in my environment.
>
> I resolved this issue. The problem is Eclipse is pointing to 1.5.11 but in
> the classpath there was entry for jdk 1.3. that was added because of
> Oracle client installation. After I modified the environment variable to
> remove this 1.3 entry in the classpath this issue was resolved. This can
> be closed.
>
>
> > Problem installing latest eclipse plugins for Axis2 CodeGen and Axis2
> Service Archiver.
> >
> ---------------------------------------------------------------------------------------
> >
> > Key: AXIS2-2298
> > URL: https://issues.apache.org/jira/browse/AXIS2-2298
> > Project: Axis 2.0 (Axis2)
> > Issue Type: Bug
> > Components: ide plugins
> > Affects Versions: 1.1.1
> > Environment: Windows XP professional.
> > Axis2 1.1.1
> > Eclipse 3.1(Same issue with Eclipse 3.2)
> > Reporter: Lee Hanu
> > Assigned To: Lahiru Sandakith
> >
> > I am using eclipse 3.1 and axis2 1.1.1. I am trying to install the axis2
> plugins for eclipse. I deleted a the old plugin files as instructed in the
> readme.txt file and copied the latest plugin files to the eclipse/plugins
> folder and I get the following error when I try to start the plugin from
> eclipse.
> > "Plug-in Axis2_Codegen_Wizard was unable to load class
> org.apache.axis2.tool.codegen.eclipse.CodeGenWizard."
> > I earlier versions of the plugins worked fine for me. I had this problem
> after downlaoding and installing the latest Axis2 eclipse plugins. tried
> reverting back to the old versions of Eclipse
> plugins(Axis_Service_Archiver_1.0.0 && Axis2_Codegen_Wizard_1.2.0) and it
> works fine. But when I try to use the latest versions of the eclipse
> plugins(Axis2_Codegen_Wizard_1.2.1 && Axis_Service_Archiver_1.1.1) I am not
> able to start the
>