facebook

[Closed] how can I manually reset the struts/web project

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #263902 Reply

    hbozic
    Participant

    for some reason , MyEclispe no longer thinks that my project is a web and struts project
    I cannot even remove struts and web project from the MyEclipse menu.
    the .myeclipse directory and the .mystrutsdata file are missing. This could be my fault.

    how can I reset the environment manully so that I can re-add the web project and struts capabilites?
    Or any other way to fix this would be good

    “Unable to create this part due to an internal error. Reason for the failure: Project ‘paralegal’ is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor has been used to open the file instead.”

    However both Remove Web Project Capabilites and Add struts capability are greyed out

    Please Help. I am stuck.

    Build id: 20060810-5.0.1-GA

    at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.init(StrutsConfigEditor.java:475)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:839)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
    at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
    at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
    at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
    at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:679)
    at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:434)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:843)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

    #263949 Reply

    Riyad Kalla
    Member

    It sounds like the capabilities already got removed. Double check your .project file that both the web and struts natures are gone. Then you can simply re-add both capabilities in order.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] how can I manually reset the struts/web project

You must be logged in to post in the forum log in