facebook

Problem using JSF Designer

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #241272 Reply

    rahulc_2001
    Member

    The JSF designer doesn’t open up while trying to create the JSP with JSF default template.

    Eclipse version :3.1.0
    Build :I20050219-1500

    MyEclipse version:4.0.3 GA
    Build Id: 20051025-4.0.3-GA

    java version:1.5.0_02
    operating system: windows 2000 prof

    Error details are as follows:
    ============================================================================

    org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: /jsf-sample/.project.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:761)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:295)
    at org.eclipse.core.internal.resources.File.setContents(File.java:339)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:295)
    at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1051)
    at org.eclipse.core.internal.resources.Project.setDescription(Project.java:943)
    at org.eclipse.core.internal.resources.Project.setDescription(Project.java:967)
    at com.genuitec.eclipse.jsf.core.JSFNature.configure(JSFNature.java:35)
    at org.eclipse.core.internal.resources.NatureManager$1.run(NatureManager.java:140)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.core.internal.resources.NatureManager.configureNature(NatureManager.java:155)
    at org.eclipse.core.internal.resources.NatureManager.configureNatures(NatureManager.java:200)
    at org.eclipse.core.internal.resources.Project.basicSetDescription(Project.java:63)
    at org.eclipse.core.internal.resources.Project.setDescription(Project.java:939)
    at org.eclipse.core.internal.resources.Project.setDescription(Project.java:967)
    at org.easystruts.eclipse.utils.ProjectEclipseUtils.addNatureToProject(ProjectEclipseUtils.java:204)
    at com.genuitec.eclipse.jsf.wizards.NewJSFSupportWizard.perform(NewJSFSupportWizard.java:131)
    at com.genuitec.eclipse.jsf.wizards.JSFWizard.performFinish(JSFWizard.java:43)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:670)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:342)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.java:2908)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
    at org.eclipse.jface.window.Window.open(Window.java:696)
    at com.genuitec.eclipse.jsf.action.AddJSFCapabilitiesActionDelegate.basicRun(AddJSFCapabilitiesActionDelegate.java:67)
    at com.genuitec.eclipse.jsf.action.AddJSFCapabilitiesActionDelegate.run(AddJSFCapabilitiesActionDelegate.java:49)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:234)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421)
    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.java:2908)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

    #241277

    Greg
    Member

    Can you try refreshing your entire project? Right-click the project and select “Refresh”. Does that help?

    #241317

    Riyad Kalla
    Member

    Eclipse version :3.1.0
    Build :I20050219-1500

    More importantly, this is a problem. You are using an early M-build of Eclipse 3.1, this is going to give you nothing but problems with MyEclipse 4.0.x since we build/test/ship against the Eclipse 3.1.x stable GA API.

    I would encourage you to reinstall Eclipse 3.1.1 SDK (from Eclipse’s site) and MyEclipse 4.0.3 (from our site) and then add -clean to your command line args and reopen your project existing workspace.

    I’m hesitant to just help with this one problem as I think you will continue to have problems moving forward if you continue to run with that M-build of Eclipse 3.1

    #241455

    rahulc_2001
    Member

    Thanks for the support. The problem indeed was version mismatch. A quick question though, how does one specify the -clean to the command line args. ( i am pretty much new with Eclipse as an IDE)

    #241456

    Riyad Kalla
    Member

    You can either edit the shortcut you are using to launch eclipse and add it there, or edit the eclipse.ini file in the eclipse dir and add it near the top on it’s own line.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem using JSF Designer

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