[jboss-dev-forums] [JBoss Web Development] - Richfaces 3.3.3, jsf 1, 2 and jboss 4.2.3
tuan nguyen
do-not-reply at jboss.com
Fri Apr 15 03:28:35 EDT 2011
tuan nguyen [http://community.jboss.org/people/tuan_20070904] created the discussion
"Richfaces 3.3.3, jsf 1,2 and jboss 4.2.3"
To view the discussion, visit: http://community.jboss.org/message/600227#600227
--------------------------------------------------------------
Hi, 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 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 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!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/600227#600227]
Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110415/76da4949/attachment.html
More information about the jboss-dev-forums
mailing list