Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsJSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474288/#msg_474288
Originally posted by: killahyo.gmail.com
Hello everybody! I'm trying to write a web application using JSF (my first
time using JSF) and I'm currently unable to configure the project in
Eclipse.
When I select JavaServer Faces in the "Project Facets" dialog I get an
error and taking a look at the project's log file I can see this:
!ENTRY org.eclipse.wst.common.project.facet.core 2 0 2007-06-07
18:51:56.228
!MESSAGE The ">", ">=", "<", and "<=" notation in version expressions has
been deprecated. It used in plugin org.eclipse.wtp.jsf.core. Note that the
angle brackets are represented via "<" and ">" in the plugin.xml
files. The functionality has been replaced with range notation. For
instance "[X-Y)" means all versions greater or equals to X and less than
Y. Open ranges such as "(X" or "Y]" are also allowed.
!ENTRY org.eclipse.wtp.jsf.core 1 0 2007-06-07 18:53:04.436
!MESSAGE Could not load JSF Library Registry; creating new registry
!STACK 0
java.io.FileNotFoundException:
C:\PresentacioExemple\.metadata\.plugins\org.eclipse.wtp.jsf .core\JSFLibraryRegistry.xml
(El sistema no puede hallar la ruta especificada)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createF ileInputStream(URIConverterImpl.java:469)
at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:897)
at
org.eclipse.wtp.jsf.core.internal.JSFCorePlugin.loadJSFLibra ryRegistry(JSFCorePlugin.java:126)
at
org.eclipse.wtp.jsf.core.internal.JSFCorePlugin.start(JSFCor ePlugin.java:83)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:991)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:985)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:966)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:342)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:88)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:278)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1245)
at
org.eclipse.wst.common.project.facet.core.internal.FacetCore Plugin.instantiate(FacetCorePlugin.java:139)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:126)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
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:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
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 :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.jface 4 2 2007-06-07 18:53:04.446
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
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:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
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 :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.ui 4 0 2007-06-07 19:12:27.719
!MESSAGE Project facet has not been defined.
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.handlePresetSelected(FacetsSelectionPanel.java:164 7)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$21(FacetsSelectionPanel.java:1602)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$19.handleEvent(FacetsSelectionPanel.java:1280)
at
org.eclipse.wst.common.project.facet.ui.internal.AbstractDat aModel.notifyListeners(AbstractDataModel.java:54)
at
org.eclipse.wst.common.project.facet.ui.internal.AddRemoveFa cetsDataModel.setSelectedPreset(AddRemoveFacetsDataModel.jav a:84)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$20.widgetSelected(FacetsSelectionPanel.java:1308)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
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 :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.jface 4 2 2007-06-07 19:12:35.440
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.checkStateChanged(FacetsSelectionPanel.java:1043)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$15(FacetsSelectionPanel.java:978)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$8.checkStateChanged(FacetsSelectionPanel.java:379)
at
org.eclipse.jface.viewers.CheckboxTreeViewer$1.run(CheckboxT reeViewer.java:133)
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:14 9)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.fireCheckStateC hanged(CheckboxTreeViewer.java:131)
at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(Ch eckboxTreeViewer.java:267)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.ja va:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:374)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
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 :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.ui 4 0 2007-06-07 19:12:38.534
!MESSAGE Project facet has not been defined.
!STACK 0
java.lang.IllegalArgumentException: Project facet has not been defined.
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetsManagerImpl.getProjectFacet(ProjectFacetsManagerImpl.jav a:195)
at
org.eclipse.wst.common.project.facet.core.ProjectFacetsManag er.getProjectFacet(ProjectFacetsManager.java:81)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.getValidPropertyDescriptors(FacetInstallDat aModelProvider.java:76)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:56)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataMode lProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.wst.common.componentcore.datamodel.FacetInstallD ataModelProvider.propertySet(FacetInstallDataModelProvider.j ava:65)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.componentcore.datamodel.FacetDataMode lConfigAdapter.setVersion(FacetDataModelConfigAdapter.java:4 0)
at
org.eclipse.wst.common.project.facet.core.internal.ActionDef inition.createConfigObject(ActionDefinition.java:146)
at
org.eclipse.wst.common.project.facet.core.internal.ProjectFa cetVersion.createActionConfig(ProjectFacetVersion.java:277)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.getConfig(NewProjectDataModelFacetWizard.java:475 )
at
org.eclipse.wst.common.project.facet.ui.AddRemoveFacetsWizar d$WizardContext.getConfig(AddRemoveFacetsWizard.java:569)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.createAction(FacetsSelectionPanel.java:655)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.updateValidationDisplay(FacetsSelectionPanel.java: 1076)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.handlePresetSelected(FacetsSelectionPanel.java:164 7)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel.access$21(FacetsSelectionPanel.java:1602)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$19.handleEvent(FacetsSelectionPanel.java:1280)
at
org.eclipse.wst.common.project.facet.ui.internal.AbstractDat aModel.notifyListeners(AbstractDataModel.java:54)
at
org.eclipse.wst.common.project.facet.ui.internal.AddRemoveFa cetsDataModel.setSelectedPreset(AddRemoveFacetsDataModel.jav a:84)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelec tionPanel$20.widgetSelected(FacetsSelectionPanel.java:1308)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
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 :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
What can I do? please help me.
Thank you very much]]>2007-06-07T17:55:20-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611584/#msg_611584
new JSF facet to an old project or workspace? If the workspace was
created with a newer version of Eclipse/WTP but you are opening in it an
older version, that may cause such and issue.
--Cam]]>Cameron Bateman2007-06-07T23:28:31-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474289/#msg_474289
new JSF facet to an old project or workspace? If the workspace was
created with a newer version of Eclipse/WTP but you are opening in it an
older version, that may cause such and issue.
--Cam]]>Cameron Bateman2007-06-07T23:28:31-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611587/#msg_611587
Originally posted by: killahyo.gmail.com
Well, at first I was trying to add a new JSF facet to an old project as
you've said but then I tried to make a brand new project and I get the
same error... I don't know what to do...]]>2007-06-08T09:26:18-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474290/#msg_474290
Originally posted by: killahyo.gmail.com
Well, at first I was trying to add a new JSF facet to an old project as
you've said but then I tried to make a brand new project and I get the
same error... I don't know what to do...]]>2007-06-08T09:26:18-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611601/#msg_611601
Originally posted by: killahyo.gmail.com
It would be very useful to know which combination of versions works fine,
I mean which version of WTP, version of Apache Tomcat, JSF, etc., and how
to install JSF (where to copy its *.jar file, etc.)... like an
installation manual.]]>2007-06-08T10:57:54-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474295/#msg_474295
Originally posted by: killahyo.gmail.com
It would be very useful to know which combination of versions works fine,
I mean which version of WTP, version of Apache Tomcat, JSF, etc., and how
to install JSF (where to copy its *.jar file, etc.)... like an
installation manual.]]>2007-06-08T10:57:54-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611606/#msg_611606
> you've said but then I tried to make a brand new project and I get the
That combination should be okay. Can you try a new project in a new
*workspace*?
--Cam]]>Cameron Bateman2007-06-08T17:30:44-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474296/#msg_474296
> you've said but then I tried to make a brand new project and I get the
That combination should be okay. Can you try a new project in a new
*workspace*?
--Cam]]>Cameron Bateman2007-06-08T17:30:44-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611831/#msg_611831
Originally posted by: killahyo.gmail.com
I've tried creating a new project in a new workspace and I get the same
errors...
I'll explain you how I create my projects (maybe I'm missing something):
- Once I've launched Eclipse and created a new workspace, I do
File->New->Project then I choose Web->Dynamic Web Project and I hit Next.
As a target runtime I choose Apache Tomcat v5.5 and I specify the path and
the JRE in my case jre1.6.0_01, I think I didn't tell you this in the last
letter...
Well, now I'm in the "Project Facets" dialog, I've got 4 checkboxes, if I
select
JavaServer Faces v1.1 Project, three options are selected:
1) Dynamic Web Module v2.3
2) Java v1.4 (I don't know why this changes automatically)
3) JavaServer Faces v1.1
I hit "Next" again and then "Finish".
It seems that the project I've created is OK, it has all the folders
"WebContent", etc. but the log file is telling me the same as always...
JSFLibraryRegistry.xml is missing...
Another question, when you correctly create the project a faces-config.xml
file is created in "WebContent/web-inf" folder, isn't it? I only have the
web.xml file...
Thanks again Cameron]]>2007-06-08T18:13:51-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474622/#msg_474622
Originally posted by: killahyo.gmail.com
I've tried creating a new project in a new workspace and I get the same
errors...
I'll explain you how I create my projects (maybe I'm missing something):
- Once I've launched Eclipse and created a new workspace, I do
File->New->Project then I choose Web->Dynamic Web Project and I hit Next.
As a target runtime I choose Apache Tomcat v5.5 and I specify the path and
the JRE in my case jre1.6.0_01, I think I didn't tell you this in the last
letter...
Well, now I'm in the "Project Facets" dialog, I've got 4 checkboxes, if I
select
JavaServer Faces v1.1 Project, three options are selected:
1) Dynamic Web Module v2.3
2) Java v1.4 (I don't know why this changes automatically)
3) JavaServer Faces v1.1
I hit "Next" again and then "Finish".
It seems that the project I've created is OK, it has all the folders
"WebContent", etc. but the log file is telling me the same as always...
JSFLibraryRegistry.xml is missing...
Another question, when you correctly create the project a faces-config.xml
file is created in "WebContent/web-inf" folder, isn't it? I only have the
web.xml file...
Thanks again Cameron]]>2007-06-08T18:13:51-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474627/#msg_474627
Originally posted by: killahyo.gmail.com
Another thing, if I try to register JSF libraries ("Windows->Preferences"
and in the Preferences dialog "Web and XML->JSF Libraries") before
creating any project, the JSF Librraries option doesn't appear...]]>2007-06-09T17:46:41-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611846/#msg_611846
Originally posted by: killahyo.gmail.com
Another thing, if I try to register JSF libraries ("Windows->Preferences"
and in the Preferences dialog "Web and XML->JSF Libraries") before
creating any project, the JSF Librraries option doesn't appear...]]>2007-06-09T17:46:41-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474629/#msg_474629
Originally posted by: killahyo.gmail.com
It's me again, I have another question. JSF *.jar files have to be copied
in Eclipse's plugin directory in order to use them or I have to copy them
to somewhere else?
sorry if I'm asking too much questions but I'm desperate... thanks]]>2007-06-10T18:03:23-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611852/#msg_611852
Originally posted by: killahyo.gmail.com
It's me again, I have another question. JSF *.jar files have to be copied
in Eclipse's plugin directory in order to use them or I have to copy them
to somewhere else?
sorry if I'm asking too much questions but I'm desperate... thanks]]>2007-06-10T18:03:23-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474630/#msg_474630
1. provide JSF implementation with your project. It that case all
necessary JSF libraries should be copied to WEB-INF/lib folder of your
project
2. install JSF directly on the web server. Refer to you server's
documentation on that issue.
When you create dynamic web project and add JSF facet to is, you will be
asked which JSF implementation/additional libraries to use. In that dialog
you can select weather JSF implementation will be already installed on
server or will be supplied with the project (with a selection of which
library to use). JSF Tooling will copy necessary jars to WEB-INF/lib
folder itself.]]>Vadim Dmitriev2007-06-10T19:12:44-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611854/#msg_611854
1. provide JSF implementation with your project. It that case all
necessary JSF libraries should be copied to WEB-INF/lib folder of your
project
2. install JSF directly on the web server. Refer to you server's
documentation on that issue.
When you create dynamic web project and add JSF facet to is, you will be
asked which JSF implementation/additional libraries to use. In that dialog
you can select weather JSF implementation will be already installed on
server or will be supplied with the project (with a selection of which
library to use). JSF Tooling will copy necessary jars to WEB-INF/lib
folder itself.]]>Vadim Dmitriev2007-06-10T19:12:44-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474631/#msg_474631
Usually if you look the tutorial of the help file, you may use the add
JSF implements. ( all these can be define on the [Preference]->[web
and xml] -> [jsf librares]
but I find some problem of this way, you can NOT add the apidoc to
the jsf implements lib of this way.
Below is what I do
1. define a new jsf implements lib use the[Java] -> [buid path] ->
[User Lib]. The lib defined under the user lib can be easy add the
api-doc or src.
2. you can add this lib by using [context menu] ->[build path] -[user
lib ] of your project.
3. most important this is you SHOULD check the user lib from the
project properties (alt+enter). In the [j2ee module dependency]
you should choose the user lib that you add. The selected lib will add
to the web-inf/lib folder.
BTW. I hope the JSF implements lib can be add api-doc.
I think this maybe a bug.
On Sun, 10 Jun 2007 19:12:44 +0000 (UTC), dmgloss@mail.ru (Vadim
Dmitriev) wrote:
>JSF can be enabled for your project in 2 different ways:
>1. provide JSF implementation with your project. It that case all
>necessary JSF libraries should be copied to WEB-INF/lib folder of your
>project
>2. install JSF directly on the web server. Refer to you server's
>documentation on that issue.
>
>When you create dynamic web project and add JSF facet to is, you will be
>asked which JSF implementation/additional libraries to use. In that dialog
>you can select weather JSF implementation will be already installed on
>server or will be supplied with the project (with a selection of which
>library to use). JSF Tooling will copy necessary jars to WEB-INF/lib
>folder itself.]]>epson wang2007-06-11T15:27:46-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611856/#msg_611856
Usually if you look the tutorial of the help file, you may use the add
JSF implements. ( all these can be define on the [Preference]->[web
and xml] -> [jsf librares]
but I find some problem of this way, you can NOT add the apidoc to
the jsf implements lib of this way.
Below is what I do
1. define a new jsf implements lib use the[Java] -> [buid path] ->
[User Lib]. The lib defined under the user lib can be easy add the
api-doc or src.
2. you can add this lib by using [context menu] ->[build path] -[user
lib ] of your project.
3. most important this is you SHOULD check the user lib from the
project properties (alt+enter). In the [j2ee module dependency]
you should choose the user lib that you add. The selected lib will add
to the web-inf/lib folder.
BTW. I hope the JSF implements lib can be add api-doc.
I think this maybe a bug.
On Sun, 10 Jun 2007 19:12:44 +0000 (UTC), dmgloss@mail.ru (Vadim
Dmitriev) wrote:
>JSF can be enabled for your project in 2 different ways:
>1. provide JSF implementation with your project. It that case all
>necessary JSF libraries should be copied to WEB-INF/lib folder of your
>project
>2. install JSF directly on the web server. Refer to you server's
>documentation on that issue.
>
>When you create dynamic web project and add JSF facet to is, you will be
>asked which JSF implementation/additional libraries to use. In that dialog
>you can select weather JSF implementation will be already installed on
>server or will be supplied with the project (with a selection of which
>library to use). JSF Tooling will copy necessary jars to WEB-INF/lib
>folder itself.]]>epson wang2007-06-11T15:27:46-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474632/#msg_474632
> 1. define a new jsf implements lib use the[Java] -> [buid path] ->
> [User Lib]. The lib defined under the user lib can be easy add the
> api-doc or src.
This mechanism is new in WTP2.0. Starting with the 2.0 release JSF
libraries are now full classpath containers. This was not the case in
1.5.x due to a bug that has since be resolved with J2EE module
dependencies. When you want to add/remove JSF libraries you will be able
to do so in the same way you add/remove things from your project classpath
-- through the Java Build Path options in project properties. You can
still create/add the implementation and components libraries through the
project creation wizard page.
--Cam]]>Cameron Bateman2007-06-11T20:32:16-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611859/#msg_611859
> 1. define a new jsf implements lib use the[Java] -> [buid path] ->
> [User Lib]. The lib defined under the user lib can be easy add the
> api-doc or src.
This mechanism is new in WTP2.0. Starting with the 2.0 release JSF
libraries are now full classpath containers. This was not the case in
1.5.x due to a bug that has since be resolved with J2EE module
dependencies. When you want to add/remove JSF libraries you will be able
to do so in the same way you add/remove things from your project classpath
-- through the Java Build Path options in project properties. You can
still create/add the implementation and components libraries through the
project creation wizard page.
--Cam]]>Cameron Bateman2007-06-11T20:32:16-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474633/#msg_474633
Originally posted by: killahyo.gmail.com
Hello again, at last I've followed a little tutorial that should work
(with all the project files created, faces-config.xml, etc.), I've created
a Dynamic Web Project without selecting Java Server Faces in the dialogs
and then I've added JSF *.jar files to web-inf/lib folder, this should
work too, isn't it?
Well, when I do "Run On Server" on my "index.jsp" file I get this error:
--------------------------------
It says that the problem can be related with web.xml or the *.jar files
but I don't know how to solve it. If you want, I can send you the project
just to take a look and tell me something, as I said I'm new with JSF and
I'm not an expert Java programmer (I'm a C/C++ programmer, I'm just
learning Java).
Help please, thanks]]>2007-06-12T18:12:05-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611861/#msg_611861
Originally posted by: killahyo.gmail.com
Hello again, at last I've followed a little tutorial that should work
(with all the project files created, faces-config.xml, etc.), I've created
a Dynamic Web Project without selecting Java Server Faces in the dialogs
and then I've added JSF *.jar files to web-inf/lib folder, this should
work too, isn't it?
Well, when I do "Run On Server" on my "index.jsp" file I get this error:
--------------------------------
It says that the problem can be related with web.xml or the *.jar files
but I don't know how to solve it. If you want, I can send you the project
just to take a look and tell me something, as I said I'm new with JSF and
I'm not an expert Java programmer (I'm a C/C++ programmer, I'm just
learning Java).
Help please, thanks]]>2007-06-12T18:12:05-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474634/#msg_474634
folder?]]>Vadim Dmitriev2007-06-12T23:34:55-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611864/#msg_611864
folder?]]>Vadim Dmitriev2007-06-12T23:34:55-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474635/#msg_474635
Originally posted by: killahyo.gmail.com
I'm using Sun's JSF 1.1.01. I've copied all JSF *.jar files contained in
the JSF lib folder to my lib directory:
- commons-beanutils.jar
- commons-collections.jar
- commons-digester.jar
- commons-logging.jar
- jsf-api.jar
- jsf-impl.jar
I've got 2 more *.jar files, jstl.jar and standard.jar, provided with the
project.]]>2007-06-13T09:53:34-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611868/#msg_611868
Originally posted by: killahyo.gmail.com
I'm using Sun's JSF 1.1.01. I've copied all JSF *.jar files contained in
the JSF lib folder to my lib directory:
- commons-beanutils.jar
- commons-collections.jar
- commons-digester.jar
- commons-logging.jar
- jsf-api.jar
- jsf-impl.jar
I've got 2 more *.jar files, jstl.jar and standard.jar, provided with the
project.]]>2007-06-13T09:53:34-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474636/#msg_474636
I know what you mean, the jsf implent lib can also be added from the
User Lib, this is new feature of wtp2.
But I mean that the jsf impl Lib that you add CAN NOT add the api-doc
or src locally.
When I add the api ,It seems ok. But when you submit the OK button,
then open the buiding path the api that you attached is vanished.
>> Below is what I do
>> 1. define a new jsf implements lib use the[Java] -> [buid path] ->
>> [User Lib]. The lib defined under the user lib can be easy add the
>> api-doc or src.
>
>This mechanism is new in WTP2.0. Starting with the 2.0 release JSF
>libraries are now full classpath containers. This was not the case in
>1.5.x due to a bug that has since be resolved with J2EE module
>dependencies. When you want to add/remove JSF libraries you will be able
>to do so in the same way you add/remove things from your project classpath
>-- through the Java Build Path options in project properties. You can
>still create/add the implementation and components libraries through the
>project creation wizard page.
>
>
>--Cam
>
>]]>epson wang2007-06-13T10:28:39-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611870/#msg_611870
I know what you mean, the jsf implent lib can also be added from the
User Lib, this is new feature of wtp2.
But I mean that the jsf impl Lib that you add CAN NOT add the api-doc
or src locally.
When I add the api ,It seems ok. But when you submit the OK button,
then open the buiding path the api that you attached is vanished.
>> Below is what I do
>> 1. define a new jsf implements lib use the[Java] -> [buid path] ->
>> [User Lib]. The lib defined under the user lib can be easy add the
>> api-doc or src.
>
>This mechanism is new in WTP2.0. Starting with the 2.0 release JSF
>libraries are now full classpath containers. This was not the case in
>1.5.x due to a bug that has since be resolved with J2EE module
>dependencies. When you want to add/remove JSF libraries you will be able
>to do so in the same way you add/remove things from your project classpath
>-- through the Java Build Path options in project properties. You can
>still create/add the implementation and components libraries through the
>project creation wizard page.
>
>
>--Cam
>
>]]>epson wang2007-06-13T10:28:39-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474637/#msg_474637
Are you using the JSF Library feature (I *don't* mean the jar files, I
mean the feature called JSF Library)? Can you open a bug with some
screenshots that show where you think the problem is?
--Cam
ginkgo_w wrote:
> Hi, Cameron Bateman
> I know what you mean, the jsf implent lib can also be added from the
> User Lib, this is new feature of wtp2.
> But I mean that the jsf impl Lib that you add CAN NOT add the api-doc
> or src locally.
> When I add the api ,It seems ok. But when you submit the OK button,
> then open the buiding path the api that you attached is vanished.]]>Cameron Bateman2007-06-13T16:59:00-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611873/#msg_611873
Are you using the JSF Library feature (I *don't* mean the jar files, I
mean the feature called JSF Library)? Can you open a bug with some
screenshots that show where you think the problem is?
--Cam
ginkgo_w wrote:
> Hi, Cameron Bateman
> I know what you mean, the jsf implent lib can also be added from the
> User Lib, this is new feature of wtp2.
> But I mean that the jsf impl Lib that you add CAN NOT add the api-doc
> or src locally.
> When I add the api ,It seems ok. But when you submit the OK button,
> then open the buiding path the api that you attached is vanished.]]>Cameron Bateman2007-06-13T16:59:00-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474638/#msg_474638
Originally posted by: killahyo.gmail.com
Hi Cameron, in another message I posted an error log
( http://www.eclipse.org/newsportal/article.php?id=596&gro up=eclipse.webtools.jsf#596).
Now I discovered I haven't got "jsf-ri.jar" and I think this can be one of
the reasons of this error... what do you think?
I've been trying to download jsf-ri.jar file but I can't find it, I
downloaded Sun's JWSDP but this file isn't there... where can I find it?
Sorry, but I don't know what do you mean by "JSF Library feature", I've
downloaded JSF 1.1.01 and JavaServer Faces Milestone 1... What do I have
to do/download/install?
Sorry again, as I said before I'm a C/C++ programmer with a little
experience with Java, but none in JSF or Eclipse...]]>2007-06-13T19:28:28-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611876/#msg_611876
Originally posted by: killahyo.gmail.com
Hi Cameron, in another message I posted an error log
( http://www.eclipse.org/newsportal/article.php?id=596&gro up=eclipse.webtools.jsf#596).
Now I discovered I haven't got "jsf-ri.jar" and I think this can be one of
the reasons of this error... what do you think?
I've been trying to download jsf-ri.jar file but I can't find it, I
downloaded Sun's JWSDP but this file isn't there... where can I find it?
Sorry, but I don't know what do you mean by "JSF Library feature", I've
downloaded JSF 1.1.01 and JavaServer Faces Milestone 1... What do I have
to do/download/install?
Sorry again, as I said before I'm a C/C++ programmer with a little
experience with Java, but none in JSF or Eclipse...]]>2007-06-13T19:28:28-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474639/#msg_474639
contains jsf-api.jar and jsf-impl.jar. If those files are there - it
automatically moves that issue out of the JSF Tools scope.
I highly recommend you to download sample application for the jsf
distibution of your choice and to try to successfully run it on the
server. Sometimes little server configuration is required.
Error, you provided, shows that for some reason webserver haven't loaded
jsf jar files from the WEB-INF/lib (otherwise java.sun.com/jsf/core,
java.sun.com/jsf/html would have been found).]]>Vadim Dmitriev2007-06-14T05:52:39-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611878/#msg_611878
contains jsf-api.jar and jsf-impl.jar. If those files are there - it
automatically moves that issue out of the JSF Tools scope.
I highly recommend you to download sample application for the jsf
distibution of your choice and to try to successfully run it on the
server. Sometimes little server configuration is required.
Error, you provided, shows that for some reason webserver haven't loaded
jsf jar files from the WEB-INF/lib (otherwise java.sun.com/jsf/core,
java.sun.com/jsf/html would have been found).]]>Vadim Dmitriev2007-06-14T05:52:39-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474640/#msg_474640
Originally posted by: killahyo.gmail.com
Well, answering my own last question, I've find that you don't need
jsf-ri.jar if you already have jsf-impl.jar (It's my case), It's a new
implementation or something like this. Another thing, in Eclipse's
Problems tab I get this Warning message:
Implementation of project facet wtp.jsf could not be found. Functionality
will be limited.
I don't know exactly what this means...
Can anybody show/send me a JSF example project with the right Eclipse
configuration? I don't know what I'm doing wrong and I know it has to be
hard for you to help me solve my problems without seeing them in detail...
Thanks for your attention]]>2007-06-14T10:15:37-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/611880/#msg_611880
Originally posted by: killahyo.gmail.com
Well, answering my own last question, I've find that you don't need
jsf-ri.jar if you already have jsf-impl.jar (It's my case), It's a new
implementation or something like this. Another thing, in Eclipse's
Problems tab I get this Warning message:
Implementation of project facet wtp.jsf could not be found. Functionality
will be limited.
I don't know exactly what this means...
Can anybody show/send me a JSF example project with the right Eclipse
configuration? I don't know what I'm doing wrong and I know it has to be
hard for you to help me solve my problems without seeing them in detail...
Thanks for your attention]]>2007-06-14T10:15:37-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474641/#msg_474641
After see your post, I confirm this by using eclipse 3.3rc4 ,gef
3.3rc2,emf 2.3rc2,and the wtp2 rc2.
I use a screem record soft to generate a flash file.
I upload it to rapidshare, so you can download it from
>I need a bit more information here. What version are you working with?
>Are you using the JSF Library feature (I *don't* mean the jar files, I
>mean the feature called JSF Library)? Can you open a bug with some
>screenshots that show where you think the problem is?
>
>
>--Cam
>]]>epson wang2007-06-15T06:14:34-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/612059/#msg_612059
After see your post, I confirm this by using eclipse 3.3rc4 ,gef
3.3rc2,emf 2.3rc2,and the wtp2 rc2.
I use a screem record soft to generate a flash file.
I upload it to rapidshare, so you can download it from
>I need a bit more information here. What version are you working with?
>Are you using the JSF Library feature (I *don't* mean the jar files, I
>mean the feature called JSF Library)? Can you open a bug with some
>screenshots that show where you think the problem is?
>
>
>--Cam
>]]>epson wang2007-06-15T06:14:34-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/474644/#msg_474644
Originally posted by: killahyo.gmail.com
Hi again, at last, the problem is solved.
First of all, I've changed "web-inf" and "meta-inf" to "WEB-INF" and
"META-INF" after this, I've found that some libs were missing, after
adding them, the example application works fine.
Thanks for all]]>2007-06-18T18:02:09-00:00Re: JSF & Eclipse project
https://www.eclipse.org/forums/index.php/mv/msg/150801/612062/#msg_612062
Originally posted by: killahyo.gmail.com
Hi again, at last, the problem is solved.
First of all, I've changed "web-inf" and "meta-inf" to "WEB-INF" and
"META-INF" after this, I've found that some libs were missing, after
adding them, the example application works fine.