1 2 Previous Next 16 Replies Latest reply on Feb 4, 2009 4:13 AM by niranjan8712

    JBoss View Error

    alyssak

      Dear JBoss Tools users,

      When i try to open the JBOSS AS perspective - jboss server view the below error occurs. I'm using eclipse 3.4.1 and jboss tools 3.0.0 CR 1. I have also checked for updates and followed the instructions to setup the JBoss runtime environment in eclipse.

      java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
       at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.<init>(ServerTableViewer.java:204)
       at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.<init>(ServerFrame.java:113)
       at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141)
       at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
       at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
       at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
       at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
       at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
       at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
       at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
       at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
       at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
       at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
       at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
       at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
       at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
       at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
       at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
       at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
       at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
       at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
       at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
       at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
       at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
       at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
       at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
       at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
       at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
       at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
       at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
       at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
       at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
       at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
       at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
       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)
      


      I just realised the answer to my post last week might be due to not setting up the runtime environment for jboss in eclipse.
      http://forum.hibernate.org/viewtopic.php?t=993641&highlight=&sid=b8a46cc954c0ab2a30c5845e3aa201e0

      If you have an idea to solve this please post a response. I haven't been able to find a solution.


      Thanks Alyssa

        • 1. Re: JBoss View Error
          rob.stryker

          There is something very wrong with your installation, because 3.0.0.CR1 no longer has the class org.jboss.ide.eclipse.as.ui.views.server.JBossServer, or the class org.jboss.ide.eclipse.as.ui.views.server.ServerFrame, or the class org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer. All of these classes are in your stack trace, which means they exist in your installation. They are not in CR1.

          • 2. Re: JBoss View Error
            alyssak

            That's unfortunate. I've spent time reading all the documentation and wanted to get started on the app.

            Thanks for your reply i will try to reinstall.

            p.s. Is there any sample projects (tutorial etc) to download? I've downloaded the reference guides. I'm using jboss tools (hibernate), and a mysql database. I find myself getting confused with all the different references. Bought a copy of jboss in action a practical guide trying to get the examples working in eclipse.

            Cheers, Alyssa

            • 3. Re: JBoss View Error
              maxandersen

              All depends on what you want to do ;)

              Our docs has tutorials/intro's for using JBDS with Seam so if that is what you want that should be enough.

              • 4. Re: JBoss View Error
                niranjan8712
                • 5. Re: JBoss View Error
                  maxandersen

                  niranjan - I don't have a javaranch login so can't answer there.

                  But first off: Don't use JBossIDE use JBoss Tools and follow the docs on jboss.org/tools

                  • 6. Re: JBoss View Error
                    niranjan8712

                    I am pasting that post here. Also I am using JBoss Tools and not JBoss IDE!!

                    I am using Eclipse 3.4.1. I downloaded the All Plugins - Windows version 2.1.2.GA from this link
                    http://www.jboss.org/tools/download/index.html#stable

                    I unzipped the zip file. I manually moved the contents of the /plugins /features to <eclipse_home>/plugins and <eclipse_home>/features respectively. As mentioned in the installation instructions of section Installing JBoss Tools manuallyof this link
                    http://www.jboss.org/community/docs/DOC-10044

                    I started eclipse with the -clean flag.

                    I was able to see the JBossAS perspective in the Open Perspective option

                    But when I opened the perspective, I got this in the JBossAS window:

                    view plaincopy to clipboardprint?
                    java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
                    at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.(ServerTableViewer.java:204)
                    at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:113)
                    at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141)
                    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
                    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
                    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
                    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
                    at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
                    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
                    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
                    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
                    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
                    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
                    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
                    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
                    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
                    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
                    at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
                    at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
                    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
                    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
                    at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
                    at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
                    at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
                    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
                    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
                    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
                    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
                    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
                    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
                    at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
                    at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
                    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)
                    java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
                    at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.(ServerTableViewer.java:204)
                    at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:113)
                    at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141)
                    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
                    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
                    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
                    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
                    at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
                    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
                    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
                    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
                    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
                    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
                    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
                    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
                    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
                    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
                    at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
                    at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
                    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
                    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3568)
                    at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1032)
                    at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1016)
                    at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3667)
                    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
                    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3665)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
                    at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
                    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
                    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
                    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
                    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
                    at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:369)
                    at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:125)
                    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)

                    • 7. Re: JBoss View Error
                      maxandersen

                      Doesn't look like you download WTP ? Did you download the JEE bundle ?

                      remember 2.x is for Eclipse 3.3, not Eclipse 3.4

                      • 8. Re: JBoss View Error
                        niranjan8712

                        Should I try installing it on Eclipse 3.3.x?

                        Kindly let me know the exact eclipse download.

                        • 9. Re: JBoss View Error
                          nickboldt

                          JBoss Tools requirements are as follows:

                          JBoss Tools 2.x: Eclipse 3.3.x, WTP 2.x, EMF 2.3.x
                          JBoss Tools 3.0.0CR1+: Eclipse 3.4.1+, WTP 3.0.3+, EMF 2.4.1+, BIRT 2.3.1+

                          • 10. Re: JBoss View Error
                            niranjan8712

                            Hi nick,

                            Eclipse 3.3 is not wroking for me! :(

                            I am going to download 3.4 (JEE) and then try the appropriate jboss tools plugin. hope it works.

                            But,WTP and EMF, that are needed by JBoss Tools, are they already avalialble in the eclipe 3.4 Jee download? Do I have to donwload them seperatelty? How do i check if the above download contains the needed WTP and EMF?

                            • 11. Re: JBoss View Error
                              maxandersen

                              the jee download have them all.

                              • 12. Re: JBoss View Error
                                niranjan8712

                                Nick/Max,

                                Can any one kindly tell me how do I download the archive (zip) file for this update and install it offline? The online update installation is killing my network :)

                                • 13. Re: JBoss View Error
                                  maxandersen

                                  Hi niranjan,

                                  http://www.jboss.org/community/docs/DOC-10044 list the installation procedure with details.

                                  • 14. Re: JBoss View Error
                                    niranjan8712

                                    I have already followed that link for installation.

                                    I used the update link in the eclipse update manager. But it's taking long time to download.

                                    I tried to download the zip file - all windows plugins but the download is not dialog is not opening. I then tried downloading only the JBoss AS zip file and added the /plugins and /features contents to the <eclipse_home>/plugins and <eclipse_home>/features location. But eclipse did not recognize it even after i used the 'clean' flag to start the IDE. I was using eclipse 3.4.1 (jee) download!

                                    The last thing I am going to try is to install only the JBoss AS plugin from the update link, in the update manager. This can be done only on my laptop as I am not behind a proxy as at the work place (where the update link is not possible to work). I will try this on Eclipse 3.4.x. Hope it works this time! :)

                                    I was also looking for a kind of zipped update site, which after downloading, eclipse can use it as a zipped local archive. That is what I was asking.

                                    1 2 Previous Next