Problem migrating from Richfaces 3.3.3 to Richfaces 4
sarocks Apr 12, 2011 2:58 AMHi,
I am migrating my maven based project from Richfaces3.3.3+JSF2 to Richfaces4+JSF2.
I have followed the article RichFaces Migration Guide. 3.3.x - 4.x Migration.
I integrated richfaces 4 in maven and able to build the project now. But now the problems are:
- In xhtml files I am not getting any richfaces components through context help (Ctrl+Space). I am using Eclipse IDE.Do I have to change some setting in xhtml files?
- And on running a simple test example, I am able to see the JSF components but not the richfaces components. Any more settings required in my project to add richfaces components? As of now I did not look into css style files.
I am attaching some files (web.xml, faces-config.xml, test.xhtml) and below is the tomcat server log which shows no error in library loading!
Thanks in advance,
Saroj
Tomcat server log:
Apr 12, 2011 7:27:22 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:myProject' did not find a matching property.
Apr 12, 2011 7:27:22 AM org.apache.catalina.core.AprLifecycleListener init
Apr 12, 2011 7:27:22 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 12, 2011 7:27:22 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 857 ms
Apr 12, 2011 7:27:22 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 12, 2011 7:27:22 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/apache-tomcat-6.0.18/wtpwebapps/webdisplay/WEB-INF/lib/slf4j-simple-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/apache-tomcat-6.0.18/wtpwebapps/webdisplay/WEB-INF/lib/weld-servlet-1.1.0.Beta2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
203 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.0 (Beta2)
Apr 12, 2011 7:27:23 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/myProject'
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.NotNull, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class org.hibernate.validator.constraints.NotEmpty, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.Size, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.Pattern, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.Min, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.Max, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.AssertTrue, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.javascript.ClientServiceConfigParser parse
WARNING: Found JavaScript function definition for class javax.validation.constraints.AssertFalse, but that class is not presented
Apr 12, 2011 7:27:27 AM org.richfaces.cache.CacheManager getCacheFactory
INFO: Selected fallback cache factory
Apr 12, 2011 7:27:27 AM org.richfaces.cache.lru.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance using parameters: {org.richfaces.skin=ruby, javax.faces.DEFAULT_SUFFIX=.xhtml}
Apr 12, 2011 7:27:27 AM org.richfaces.cache.lru.LRUMapCacheFactory createCache
INFO: Creating LRUMap cache instance of 512 items capacity
Apr 12, 2011 7:27:28 AM org.richfaces.application.InitializationListener onStart
INFO: RichFaces Core Implementation by JBoss, a division of Red Hat, Inc., version v.4.0.0.Final SVN r.22269
5015 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
5453 [main] INFO org.jboss.weld.environment.servlet.Listener - Tomcat 6 detected, CDI injection will be available in Servlets and Filters. Injection into Listeners is not supported
6718 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
6718 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
Apr 12, 2011 7:27:30 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 12, 2011 7:27:30 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 12, 2011 7:27:31 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 12, 2011 7:27:31 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 12, 2011 7:27:31 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Apr 12, 2011 7:27:31 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8899 ms
-
test.xhtml.zip 654 bytes
-
faces-config.xml 260 bytes
-
web.xml 1.4 KB