Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2007, 02:52 PM
Member
 
Join Date: May 2007
Posts: 2
Husey is on a distinguished road
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,
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-21-2007, 04:19 PM
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-21-2007, 05:47 PM
Member
 
Join Date: May 2007
Posts: 2
Husey is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-21-2007, 05:56 PM
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
Ok. Thanks for informing us too.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-14-2007, 09:40 PM
Member
 
Join Date: Jun 2007
Posts: 1
jasonz is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-15-2007, 02:32 PM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Ed is on a distinguished road
Hi Husey, plz consider this links, maybe they help you

[1]: http://www.myeclipseide.com/PNphpBB2...ic-t-5414.html
[2]: http://www.myeclipseide.com/PNphpBB2...c-p-54108.html
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use XML-based configuration metadata shortcuts Java Tip Java Tips 0 03-30-2008 11:06 AM
Configuring Jboss with Eclipse javaplus Advanced Java 2 11-26-2007 10:49 AM
save configuration Peter XML 2 07-04-2007 08:40 AM
Jboss with eclipse Heather Eclipse 2 06-30-2007 05:39 PM
How To Create EJB’s In Eclipse IDE JavaForums Eclipse 0 04-26-2007 11:15 AM


All times are GMT +3. The time now is 11:25 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org