- This topic has 5 replies, 2 voices, and was last updated 16 years, 9 months ago by Loyal Water.
-
AuthorPosts
-
sarikanParticipantI should say that I am quite confused with the current state of facelets support. According to docs that comes with my installation (windows xp sp2, 6.0.1 GA, Build id: 6.0.1-GA-200710) I should simply be able to add facelets support to a jsf project by choosing either checking the checkbox in the add jsf capabilities wizard, or adding it later to a project by add facelets support.
There is a nice “My eclipse facelets tutorial” which explains the process, and gives link to a sample project, which works in my system.
Things are not so fine, when I somehow add facelets support. With sun’s implementation and myfaces I create a jsf project, which I can add pages, and it works UNLESS I add facelets support, either by using the checkbox in the jsf support wizard, or later from the menu, using add facelets support.
I am really frustrated, and I do not want to go hunting for the magic difference between working demo project and mine.
In short, how do I get Myfaces + facelets working? This has already taken an unnecessarily long time for me, so any help would be appreciated a lotAll the best
Seref
Loyal WaterMemberSeref,
What error messages do you get when you run the project ?Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
sarikanParticipantHi Nipun,
The text below outlines the steps to produce the problem. I get the same result with different combinations. Access to newly added pages stops after facelets support is added. The long test below shows the steps I’ve taken and outputs during the process, I hope you can help me out with getting a meaning from this 🙂 And my instatllation summary is added at the end
Here we go:Create a new Web project
add jsf capabilities
jsf specification level 1.1 for j2ee 1.4
jsf implemantation myfaces 1.1.5
copy jsf tlds checked
add jsf support NOT checked
open faces-config in web-inf
add jsp page MyJsp.jsp with default jsp template
open run dialog
create new myeclipse server application
choose newly created project
choose myeclipse tomcat as serverrun:
the output for tomcat is:
Feb 25, 2008 12:27:33 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 6.0\bin;D:\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\tomcat\bin
Feb 25, 2008 12:27:33 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 25, 2008 12:27:33 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1460 ms
Feb 25, 2008 12:27:33 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 25, 2008 12:27:33 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
WARNING: /WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice. See JSF spec 1.1, 10.3.2
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/myfaces-api-1.1.5.jar
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/myfaces-impl-1.1.5.jar
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Feb 25, 2008 12:27:35 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : tomahawk in version : 1.1.3 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/tomahawk-1.1.3.jar
Feb 25, 2008 12:27:35 PM org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Feb 25, 2008 12:27:37 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Feb 25, 2008 12:27:37 PM org.apache.myfaces.webapp.StartupServletContextListener initFaces
INFO: ServletContext ‘D:\MyEclipse 6.0\WS-QoLive\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\FaceletsTest\’ initialized.
Feb 25, 2008 12:27:37 PM org.apache.myfaces.component.html.util.ExtensionsFilter <init>
WARNING: Please adjust your web.xml to use org.apache.myfaces.webapp.filter.ExtensionsFilter
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
WARNING: /WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice. See JSF spec 1.1, 10.3.2
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/myfaces-api-1.1.5.jar
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/myfaces-impl-1.1.5.jar
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Feb 25, 2008 12:27:42 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : tomahawk in version : 1.1.3 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/tomahawk-1.1.3.jar
Feb 25, 2008 12:27:42 PM org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Feb 25, 2008 12:27:44 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Feb 25, 2008 12:27:44 PM org.apache.myfaces.webapp.StartupServletContextListener initFaces
INFO: ServletContext ‘D:\MyEclipse 6.0\WS-QoLive\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\QoLiveJSF\’ initialized.
Feb 25, 2008 12:27:44 PM org.apache.myfaces.component.html.util.ExtensionsFilter <init>
WARNING: Please adjust your web.xml to use org.apache.myfaces.webapp.filter.ExtensionsFilter
Feb 25, 2008 12:27:44 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 25, 2008 12:27:44 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 25, 2008 12:27:44 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/109 config=null
Feb 25, 2008 12:27:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10848 mscall MyJsp.faces, it works, and the following is added to tomcat output
Feb 25, 2008 12:28:31 PM org.apache.catalina.core.ApplicationContext log
INFO: No state saving method defined, assuming default server state saving
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.PRETTY_HTML’ found, using default value true
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.ALLOW_JAVASCRIPT’ found, using default value true
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.DETECT_JAVASCRIPT’ found, using default value false
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.AUTO_SCROLL’ found, using default value false
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getStringInitParameter
INFO: No context init parameter ‘org.apache.myfaces.ADD_RESOURCE_CLASS’ found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
Feb 25, 2008 12:28:33 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.CHECK_EXTENSIONS_FILTER’ found, using default value trueNow stop server application, select project and choose add jsf capabilities from myeclipse menu,
choose .xhtml as extensionStart application, app opens, and index.jsp is displayed, tomcat output is as follows:
Feb 25, 2008 12:30:45 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 6.0\bin;D:\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\tomcat\bin
Feb 25, 2008 12:30:45 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 25, 2008 12:30:45 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 910 ms
Feb 25, 2008 12:30:45 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 25, 2008 12:30:45 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
WARNING: /WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice. See JSF spec 1.1, 10.3.2
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/myfaces-api-1.1.5.jar
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/myfaces-impl-1.1.5.jar
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Feb 25, 2008 12:30:47 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : tomahawk in version : 1.1.3 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/FaceletsTest/WEB-INF/lib/tomahawk-1.1.3.jar
Feb 25, 2008 12:30:47 PM org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Feb 25, 2008 12:30:48 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Feb 25, 2008 12:30:48 PM org.apache.myfaces.webapp.StartupServletContextListener initFaces
INFO: ServletContext ‘D:\MyEclipse 6.0\WS-QoLive\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\FaceletsTest\’ initialized.
Feb 25, 2008 12:30:48 PM org.apache.myfaces.component.html.util.ExtensionsFilter <init>
WARNING: Please adjust your web.xml to use org.apache.myfaces.webapp.filter.ExtensionsFilter
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
WARNING: /WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice. See JSF spec 1.1, 10.3.2
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator feedContextSpecifiedConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-api in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/myfaces-api-1.1.5.jar
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : myfaces-impl in version : 1.1.5 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/myfaces-impl-1.1.5.jar
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: MyFaces-package : tomahawk-sandbox not found.
Feb 25, 2008 12:30:50 PM org.apache.myfaces.config.FacesConfigurator logMetaInf
INFO: Starting up MyFaces-package : tomahawk in version : 1.1.3 from path : file:/D:/MyEclipse%206.0/WS-QoLive/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/QoLiveJSF/WEB-INF/lib/tomahawk-1.1.3.jar
Feb 25, 2008 12:30:50 PM org.apache.myfaces.shared_impl.util.LocaleUtils toLocale
WARNING: Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
Feb 25, 2008 12:30:51 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Feb 25, 2008 12:30:51 PM org.apache.myfaces.webapp.StartupServletContextListener initFaces
INFO: ServletContext ‘D:\MyEclipse 6.0\WS-QoLive\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\QoLiveJSF\’ initialized.
Feb 25, 2008 12:30:51 PM org.apache.myfaces.component.html.util.ExtensionsFilter <init>
WARNING: Please adjust your web.xml to use org.apache.myfaces.webapp.filter.ExtensionsFilter
Feb 25, 2008 12:30:51 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 25, 2008 12:30:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 25, 2008 12:30:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/78 config=null
Feb 25, 2008 12:30:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6471 msWhen I try to open MyJsp.faces, the browser gives the following output:
HTTP Status 404 – /FaceletsTest/MyJsp.faces
——————————————————————————–
type Status report
message /FaceletsTest/MyJsp.faces
description The requested resource (/FaceletsTest/MyJsp.faces) is not available.
——————————————————————————–
Apache Tomcat/6.0.13
and the following is added to tomcat output:
Feb 25, 2008 12:35:14 PM org.apache.catalina.core.ApplicationContext log
INFO: No state saving method defined, assuming default server state saving
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.PRETTY_HTML’ found, using default value true
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.ALLOW_JAVASCRIPT’ found, using default value true
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.DETECT_JAVASCRIPT’ found, using default value false
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.AUTO_SCROLL’ found, using default value false
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getStringInitParameter
INFO: No context init parameter ‘org.apache.myfaces.ADD_RESOURCE_CLASS’ found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
Feb 25, 2008 12:35:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
INFO: No context init parameter ‘org.apache.myfaces.CHECK_EXTENSIONS_FILTER’ found, using default value trueMyJsp.jsp fails, which should anyway, with Faces context not found exception.
My Eclipse Installation info from installation summary is as follows:
*** Date:
Monday, February 25, 2008 12:38:27 PM EET** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Platform
Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
Build id: I20070625-1500Eclipse RCP
Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
Build id: I20070625-1500Eclipse Java Development Tools
Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
Build id: I20070625-1500Eclipse Plug-in Development Environment
Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
Build id: I20070625-1500Eclipse Project SDK
Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
Build id: I20070625-1500Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
D:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
-startup
D:\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata
750_70
-vm
d:\MyEclipse 6.0\jre\bin\javaw.exe
Loyal WaterMemberWhen I try to open MyJsp.faces, the browser gives the following output:
HTTP Status 404 – /FaceletsTest/MyJsp.faces
I just checked with my dev team and it seems like you cannot use plain JSF pages when the facelets capabilities are added to a project becase the Facelet view handler cannot handle plain JSF pages. You will have to add an XHTML page and run that using the .faces extension.
sarikanParticipantNipun,
I have just downloaded the full J2EE stack, and did a full install. The scenario I’ve described now works, but after I add facelets capabilities, I can access jsp pages with .jsp extension only. I think this is close to what you have described, probably facelets will work with .faces, and normal jsf pages will work with jsp.
For the moment this makes things a little bit clearer, I guess I should stay away from mixing jsf and facelets for the moment.Cheers
Seref
Loyal WaterMemberI guess I should stay away from mixing jsf and facelets for the moment.
Thats a good idea 🙂 You shouldn’t face any more issue once you do this.
-
AuthorPosts