Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Problems in creating a J2EE web application
Problems in creating a J2EE web application [message #95484] Wed, 27 April 2005 11:15 Go to next message
Eclipse UserFriend
Originally posted by: Rao.Pankaj.gmail.com

Hi All,

I am using Eclispe 3.1 M6 release with The Eclipse Web Tools Platform
(WTP) plugin. I have j2re1.4.2_07 and jakarta-tomcat-4.1.30 installed on
my machine. When I try to create a new J2EE Web Project I get following
exception in my log file. Any help to resolve this problem would be highly
appreciated.

Regards,

Saint007


!ENTRY org.eclipse.ui 4 4 2005-04-27 16:35:40.219
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-04-27 16:35:40.229
!MESSAGE
org.eclipse.ui.internal.WorkbenchMessages.getString(Ljava/la ng/String;)Ljava/lang/String;
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.ui.internal.WorkbenchMessages.getString(Ljava/la ng/String;)Ljava/lang/String;
at
org.eclipse.jst.j2ee.internal.wizard.J2EEModulesDependencyPa ge.createTopLevelComposite(J2EEModulesDependencyPage.java:92 )
at
org.eclipse.wst.common.frameworks.ui.WTPWizardPage.createCon trol(WTPWizardPage.java:99)
at
org.eclipse.wst.common.frameworks.ui.ExtendableWizard.create PageControls(ExtendableWizard.java:146)
at
org.eclipse.jface.wizard.WizardDialog.createPageControls(Wiz ardDialog.java:611)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog .java:965)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDi alog.java:1016)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog. java:1013)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.jav a:1003)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog. java:1001)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:753)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2894)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2527)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:803 )
at org.eclipse.jface.window.Window.open(Window.java:781)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:114)
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 :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2894)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2527)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1570)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:306)
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:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:156)
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:315 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Re: Problems in creating a J2EE web application [message #95856 is a reply to message #95484] Thu, 28 April 2005 10:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rao.Pankaj.gmail.com

I have not been able to resolve this problem even after a clean reinstall
of all components.

Regards,
Re: Problems in creating a J2EE web application [message #96036 is a reply to message #95856] Thu, 28 April 2005 13:31 Go to previous messageGo to next message
Eclipse UserFriend
WTP M3 is not compatible with eclipse base M6, the upcoming M4 build will
arrive any day now.. please pick this driver up.
Re: Problems in creating a J2EE web application [message #96138 is a reply to message #96036] Fri, 29 April 2005 05:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rao.Pankaj.gmail.com

Thanks,

I would try with M4 build.
Re: Problems in creating a J2EE web application [message #97781 is a reply to message #96138] Tue, 03 May 2005 07:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rao.Pankaj.gmail.com

Hello,

I tried using M4 WTP build with 3.1M6 build of eclipse but I could not
find a way to create a J2EE web application. There is no J2EE project
creation wizard available in Java or Web projects.

Please advise.

Thanks and Regards,
Re: Problems in creating a J2EE web application [message #97879 is a reply to message #97781] Tue, 03 May 2005 09:51 Go to previous message
Eclipse UserFriend
In M4, you have to create a Flexible Java project by going to
File->New->Project->Java->Flexible Java Project, and then add J2EE modules
which may
be Web, EJB or other types.
Previous Topic:WTP M4 and WebServices error IWAB0489E and others
Next Topic:Problems/Bugs? in Web Service generation
Goto Forum:
  


Current Time: Wed Jun 25 14:00:15 EDT 2025

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

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

Back to the top