• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Could anyone help me solve this?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone:

I am trying to run my first struts example using WSAD 5.1.2
(WebSphere Studio Application Developer)
that I found at ://www.webagesolutions.com/knowledgebase/waskb/waskb003/ site. I have encountered a problem in creating a JSP in Web-Content folder of web project. I followed the steps as described in that site. The description of the error is as follows:

Title of error dialogue: Web Region Wizard Error
Description of Error:
An internal error has occured
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:89)
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)
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:58

I appreciate your help.

Thankyou
Haricharan M.
Nashville, US
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm moving this to the Websphere forum.
 
You got style baby! More than this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic