Problema de versão arquivo faces-config .....o que fazer agora

0 respostas
P

O que fazer …agora

pois estou usando eclipse 3.6,java 6,tomcat 7,jsf 2.0,richfaces 3.3

abs

<?xml version="1.0" encoding="UTF-8"?>

<faces-config
    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-facesconfig_2_0.xsd"
    version="2.0">


<application>
  <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
 </application>
 
 	<managed-bean>
		<managed-bean-name>userBean</managed-bean-name>
		<managed-bean-class>
			 beans.UserBean
		</managed-bean-class>
		<managed-bean-scope>request</managed-bean-scope>
	</managed-bean>
 

</faces-config>
13/Nov/2010 17:55:17 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
13/Nov/2010 17:55:17 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:fdp1' did not find a matching property.
13/Nov/2010 17:55:17 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
13/Nov/2010 17:55:17 org.apache.coyote.ajp.AjpProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
13/Nov/2010 17:55:17 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 493 ms
13/Nov/2010 17:55:17 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
13/Nov/2010 17:55:17 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.4
13/Nov/2010 17:55:17 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
13/Nov/2010 17:55:17 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.3 (FCS b03) for context '/fdp1'
13/Nov/2010 17:55:18 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
13/Nov/2010 17:55:19 com.sun.faces.mgbean.BeanManager addBean
WARNING: JSF1074: Managed bean named 'a4j' has already been registered.  Replacing existing managed bean class type org.richfaces.VersionBean with org.richfaces.VersionBean.
13/Nov/2010 17:55:19 com.sun.faces.mgbean.BeanManager addBean
WARNING: JSF1074: Managed bean named 'a4jSkin' has already been registered.  Replacing existing managed bean class type org.richfaces.skin.SkinBean with org.richfaces.skin.SkinBean.
13/Nov/2010 17:55:19 com.sun.faces.mgbean.BeanManager addBean
WARNING: JSF1074: Managed bean named 'richSkin' has already been registered.  Replacing existing managed bean class type org.richfaces.skin.SkinBean with org.richfaces.skin.SkinBean.
13/Nov/2010 17:55:19 com.sun.faces.mgbean.BeanManager addBean
WARNING: JSF1074: Managed bean named 'ajaxContext' has already been registered.  Replacing existing managed bean class type org.ajax4jsf.context.AjaxContextImpl with org.ajax4jsf.context.AjaxContextImpl.
13/Nov/2010 17:55:19 com.sun.faces.config.processor.FaceletTaglibConfigProcessor processComponent
WARNING: JSF1029:  Application is versioned at 2.0 (either explicitly by the version of /WEB-INF/faces-config.xml or the lack of a /WEB-INF/faces-confg.xml), however class 'org.ajax4jsf.taglib.html.facelets.ActionParamHandler' depends on a legacy facelet class.  The facelet artifact represented by this class will not be registered.
13/Nov/2010 17:55:19 com.sun.faces.config.processor.FaceletTaglibConfigProcessor processHandlerClass
WARNING: JSF1029:  Application is versioned at 2.0 (either explicitly by the version of /WEB-INF/faces-config.xml or the lack of a /WEB-INF/faces-confg.xml), however class '[handler-class: null]' depends on a legacy facelet class.  The facelet artifact represented by this class will not be registered.
13/Nov/2010 17:55:19 com.sun.faces.config.processor.FaceletTaglibConfigProcessor processComponent
WARNING: JSF1029:  Application is versioned at 2.0 (either explicitly by the version of /WEB-INF/faces-config.xml or the lack of a /WEB-INF/faces-confg.xml), however class 'org.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class.  The facelet artifact represented by this class will not be registered.
13/Nov/2010 17:55:19 com.sun.faces.config.processor.FaceletTaglibConfigProcessor processComponent
<%<a class="mention" href="/u/page">@page</a> contentType=“text/html pageEncoding=UTF-8%>

<%@taglib prefix=f uri=<a href="http://java.sun.com/jsf/core">http://java.sun.com/jsf/core</a>”%>

<%@taglib prefix=h uri=<a href="http://java.sun.com/jsf/html">http://java.sun.com/jsf/html</a>”%>

<!-- Declaração das Tags da biblioteca RichFaces -->

<%@ taglib uri=<a href="http://richfaces.org/a4j">http://richfaces.org/a4j</a>” prefix=“a4j”%>

<%@ taglib uri=<a href="http://richfaces.org/rich">http://richfaces.org/rich</a>” prefix=“rich”%>

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”

“<a href="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>”>

<html>

<head>

<meta http-equiv=“Content-Type” content=“text/html; charset=UTF-8”/>

<title>Exemplo JSF 2.0 + RichFaces 3.3.3</title>

</head>

<body>

<f:view>

<h1><h:outputText value=“Java Server Faces 2.0 + RichFaces 3.3.3/></h1>

<a4j:form>

<rich:panel header=“RichFaces 3.3.3 Exemplo style=“width: 315px>

<h:outputText value=“Seu nome: " />

<h:inputText value=”#{user.name}" >

<f:validateLength minimum=“1” maximum=“30” />

</h:inputText>

<a4j:commandButton value=“Enviar” reRender=“painelResposta” />




<h:panelGroup id=“painelResposta” >

<h:outputText value=“Olá, " rendered=”#{not empty user.name}" />

<h:outputText value="#{user.name}" />

<h:outputText value="!" rendered="#{not empty user.name}" />

</h:panelGroup>

</rich:panel>

</a4j:form>

</f:view>

</body>

</html>
package beans;
import javax.faces.bean.ManagedBean;
@ManagedBean 
 public class User {  
     String name;  
     public User() {  
     }  
     public String getName() {  
         return name;  
     }  
     public void setName(String name) {  
         this.name = name;  
     }  
 }
Criado 13 de novembro de 2010
Respostas 0
Participantes 1