Hi Pundits:
I am trying to create a
jsp file in the WebContent folder of the
struts web project but encountered this strange Web Region Wizard Error dialogue with the message as follows:
java.lang.NoSuchMethodError: java/lang/StringBuffer.append(Ljava/lang/String
Ljava/lang/AbstractStringBuilder;
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NoSuchMethodError.<init>(NoSuchMethodError.java:56)
at com.ibm.etools.struts.wizards.jsp.templates.JSPActionForm0.generate(JSPActionForm:1124)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.getFileContents(StructuredWebRegionCodeGenContrib.java:999)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.createNewFile(StructuredWebRegionCodeGenContrib.java:710)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.createFiles(StructuredWebRegionCodeGenContrib.java:588)
at com.ibm.etools.struts.wizards.jsp.codegen.AbstractStrutsWebRegionCodeGenContrib.createFiles(AbstractStrutsWebRegionCodeGenContrib.java:40)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.doExecutions(StructuredWebRegionCodeGenContrib.java:810)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.execute(StructuredWebRegionCodeGenContrib.java:795)
at com.ibm.etools.webtools.wizards.webfilewizard.WebFileRegionCodeGenContrib.execute(WebFileRegionCodeGenContrib.java:42)
at com.ibm.etools.webtools.wizards.cgen.StructuredWebRegionCodeGenContrib.run(StructuredWebRegionCodeGenContrib.java:835)
at com.ibm.etools.webtools.wizards.cgen.WebRegionCodeGenOp.execute(WebRegionCodeGenOp.java:93)
at com.ibm.etools.webtools.wizards.cgen.WebRegionCodeGenOp.run(WebRegionCodeGenOp.java:67)
at com.ibm.etools.j2ee.common.ui.WorkspaceModifyComposedOperation.execute(WorkspaceModifyComposedOperation.java:56)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.ibm.etools.webtools.wizards.WebRegionWizard.performFinish(WebRegionWizard.java:531)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizardShortcutAction.java:96)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207)
at java.lang.reflect.Method.invoke(Method.java:271)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Could anyone please help me solve this problem? I am stuck with this in my development. I really appreciate your help.
Thankyou
Haricharan M.