Results 1 to 6 of 6
  1. #1
    Husey is offline Member
    Join Date
    May 2007
    Posts
    2
    Rep Power
    0

    Angry cannot create a new jboss configuration in Eclipse

    Hi,
    I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse.
    I keep getting the error message "An error has occurred. See error log for more details". Same for all versions of JBoss.
    I couldn't find what causes the error. Any help would be much appreciated.

    My installation is:

    JDK 1.5.0 update 11
    Jboss 4.0.4GA
    Eclipse 3.2.2


    I looked at the log file but couldn't solve the problem. Below is what the log file says:

    !ENTRY org.eclipse.jface 4 2 2007-05-20 11:51:15.212
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.defineClass(DefaultClassLoader.java:161)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.defineClass(ClasspathManager.java:501)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findClassImpl(ClasspathManager.java:471)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClassImpl(ClasspathManager.java:430)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass(ClasspathManager.java:413)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.findLocalClass(DefaultClassLoader.java:189)
    at org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at org.jboss.ide.eclipse.launcher.ui.configuration.jb oss.JBoss40xTabGroup.createTabs(JBoss40xTabGroup.j ava:60)
    at org.eclipse.debug.internal.ui.launchConfigurations .CreateLaunchConfigurationAction.performAction(Cre ateLaunchConfigurationAction.java:70)
    at org.eclipse.debug.internal.ui.launchConfigurations .AbstractLaunchConfigurationAction$1.run(AbstractL aunchConfigurationAction.java:103)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
    at org.eclipse.debug.internal.ui.launchConfigurations .AbstractLaunchConfigurationAction.run(AbstractLau nchConfigurationAction.java:106)
    at org.eclipse.debug.internal.ui.launchConfigurations .LaunchConfigurationsDialog$2.run(LaunchConfigurat ionsDialog.java:526)
    at org.eclipse.debug.ui.AbstractDebugView.doubleClick (AbstractDebugView.java:729)
    at org.eclipse.jface.viewers.StructuredViewer$1.run(S tructuredViewer.java:796)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.jav a:843)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:149)
    at org.eclipse.jface.viewers.StructuredViewer.fireDou bleClick(StructuredViewer.java:794)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handl eDoubleSelect(AbstractTreeViewer.java:1227)
    at org.eclipse.jface.viewers.StructuredViewer$4.widge tDefaultSelected(StructuredViewer.java:1158)
    at org.eclipse.jface.util.OpenStrategy.fireDefaultSel ectionEvent(OpenStrategy.java:223)
    at org.eclipse.jface.util.OpenStrategy.access$0(OpenS trategy.java:220)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent( OpenStrategy.java:281)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
    at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:7 96)
    at org.eclipse.debug.internal.ui.launchConfigurations .LaunchConfigurationsDialog.open(LaunchConfigurati onsDialog.java:1086)
    at org.eclipse.debug.ui.DebugUITools$1.run(DebugUIToo ls.java:383)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
    at org.eclipse.debug.ui.DebugUITools.openLaunchConfig urationDialogOnGroup(DebugUITools.java:387)
    at org.eclipse.debug.ui.DebugUITools.openLaunchConfig urationDialogOnGroup(DebugUITools.java:329)
    at org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.page s.JBossSelectionPage.createJBossConfiguration(JBos sSelectionPage.java:139)
    at org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.page s.JBossSelectionPage.access$0(JBossSelectionPage.j ava:137)
    at org.jboss.ide.eclipse.ejb3.wizards.ui.wizards.page s.JBossSelectionPage$2.widgetSelected(JBossSelecti onPage.java:101)
    at org.eclipse.swt.widgets.TypedListener.handleEvent( TypedListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
    at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:7 96)
    at org.eclipse.ui.actions.NewProjectAction.run(NewPro jectAction.java:116)
    at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:499)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:53 9)
    at org.eclipse.jface.action.ActionContributionItem.ac cess$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.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)


    Thanks,

  2. #2
    levent Guest

    Default

    Hello Husey,

    I found this related to your problem:

    [#JBIDE-295] Ecllpse 3.2M6 breaks JBossAS adapters... - jboss.org JIRA

    If you google "java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab", you will see more pages related to your problem.

    Let us know the problem/solution when you fixed it.

  3. #3
    Husey is offline Member
    Join Date
    May 2007
    Posts
    2
    Rep Power
    0

    Question

    Thanks very much for your reply.
    I couldn't see a solution for the version of the Jboss IDE that I use which is 1.6.
    But apparetly the problem is solved in the new version (2.0 -Beta)
    I will have go at it with the new version.

    Thanks.

  4. #4
    levent Guest

    Default

    Ok. Thanks for informing us too.

  5. #5
    jasonz is offline Member
    Join Date
    Jun 2007
    Posts
    1
    Rep Power
    0

    Default

    To patch just copy org-jboss-ide-eclipse-launcher-ui.jar into eclipse/plugins/org.jboss.ide.eclipse.launcher.ui_1.6.0.GA, and restart eclipse.

  6. #6
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

Similar Threads

  1. Configuring Jboss with Eclipse
    By javaplus in forum Advanced Java
    Replies: 3
    Last Post: 05-07-2009, 12:16 PM
  2. Replies: 0
    Last Post: 03-30-2008, 11:06 AM
  3. save configuration
    By Peter in forum XML
    Replies: 2
    Last Post: 07-04-2007, 08:40 AM
  4. Jboss with eclipse
    By Heather in forum Eclipse
    Replies: 2
    Last Post: 06-30-2007, 05:39 PM
  5. How To Create EJB’s In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •