Richfaces 3.3.3, jsf 1,2 and jboss 4.2.3
tuan_20070904 Apr 15, 2011 3:28 AMHi, i use Netbean 6.9.1 to build demo web application. When I press F6(Run probject ) it' Ok but i press Shift+f6(Run file ) there is some Error:
org.apache.jasper.JasperException: file:C:/Users/tuan/Documents/NetBeansProjects/WebApplication3/build/web/newjsf.jsp(9,55) PWC6188: The absolute uri: http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.JasperException: PWC6188: The absolute uri: http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar files deployed with this application
C:/Users/tuan/Documents/NetBeansProjects/WebApplication3/build/web/newjsf.jsp(9,55)
C:\Users\tuan\Documents\NetBeansProjects\WebApplication3\nbproject\build-impl.xml:575: Java returned: 1
BUILD FAILED (total time: 1 second)
My web.xml
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>blueSky</param-value> </context-param> <context-param> <param-name>org.richfaces.CONTROL_SKINNING</param-name> <param-value>enable</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> <welcome-file>faces/welcomeJSF.jsp</welcome-file> </welcome-file-list> </web-app>
my Lib: commons-beanutils-1.8.3,
commons-collections-3.2.1,
commons-digester-2.1,
commons-logging-1.1.1
richfaces-api-3.3.3.Final,
richfaces-impl-3.3.3.Final,
richfaces-impl-jsf2-3.3.3.Final,
richfaces-ui-3.3.3.Final
JSTL1.1-standard
JSTL 1.1-jstl
Sorry my englist not good.
Thank for help!