Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can NOT Create EJB Project
Can NOT Create EJB Project [message #119929] Sat, 26 November 2005 13:03
Eclipse UserFriend
Originally posted by: russray1761.charter.net

I am very new to Eclipse. I hope someone can share their experience with on
how to get Eclipse playing nice with EJBs

I have download the latest Eclipse build [eclipse-SDK-3.1.1-win32] and
several plugins (coretools[org.eclipse.core.tools_1.3.0],
eclipseUML[eclipseUML_E310_freeEdition_2.1.0.20050927],
emf[emf-sdo-xsd-SDK-2.1.0], gef[GEF-runtime-3.1.1], HTML
Editor[tk.eclipse.plugin.htmleditor_1.6.7],
j2ee[org.objectweb.lomboz_3.0.1.N20050106], jboss[JBossIDE-1.5M2-ALL+EJB3],
jem[jem-sdk-1.1], profiler[ru.nlmk.eclipse.plugins.profiler_0.5.33],
SQLExplorer[net.sourceforge.sqlexplorer_2.2.4],
StrutsIDE[tk.eclipse.plugin-struts_1.1.7], and
webtoools[wtp_all-in-one-0.7-win32]. I am going through each in an attempt
to ensure they are all working correctly and I can create the different
types of projects. I have created simple POJO classes and JUnit classes.

Creating a EJB Project does not work. When I click on File>New>EJB Project
nothing happens. I checked the .log file
(<ECLIPSE_WORKSPACE>\workspace\.metadata) and notice the following error:
!ENTRY org.eclipse.ui 4 0 2005-11-26 06:12:08.468
!MESSAGE
org/eclipse/wst/common/frameworks/internal/FlexibleJavaProje ctPreferenceUtil
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/wst/common/frameworks/internal/FlexibleJavaProje ctPreferenceUtil
at
org.eclipse.wst.common.componentcore.internal.operation.Comp onentCreationDataModelProvider.init(ComponentCreationDataMod elProvider.java:51)
at
org.eclipse.jst.j2ee.internal.archive.operations.JavaCompone ntCreationDataModelProvider.init(JavaComponentCreationDataMo delProvider.java:53)
at
org.eclipse.jst.j2ee.application.internal.operations.J2EECom ponentCreationDataModelProvider.init(J2EEComponentCreationDa taModelProvider.java:45)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.init(DataModelImpl.java:61)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl. <init>(DataModelImpl.java:47)
at
org.eclipse.wst.common.frameworks.datamodel.DataModelFactory .createDataModel(DataModelFactory.java:89)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.getDataModel(DataModelWizard.java:350)
at
org.eclipse.jst.j2ee.internal.wizard.EARComponentCreationWiz ard.doAddPages(EARComponentCreationWizard.java:73)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.addPages(DataModelWizard.java:109)
at
org.eclipse.jface.wizard.WizardDialog.createContents(WizardD ialog.java:499)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at
org.eclipse.ui.internal.actions.NewWizardShortcutAction.run( NewWizardShortcutAction.java:102)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

I checked on this type of error and it appears it was fixed back in 2002.

Can anyone shed some light on how I can go about fixing this error so I can
create an EJB Project?

Thank you in advance for reading my post.

Russ
Previous Topic:CDT on Linux: no project view
Next Topic:invokelater in swing main()
Goto Forum:
  


Current Time: Sun Sep 01 00:41:45 GMT 2024

Powered by FUDForum. Page generated in 0.07782 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top