jsf 2 - Simple demo ajax JSF page does not work (Richfaces 4.2.3 with Geronimo v3.0.1) -
i new javaee , trying setup project using richfaces 4.x geronimo v3.
i copy source richfaces showcases (here) page cannot function until press enter, seems ajax / event not working in case.
there warning: page /test.xhtml declares namespace http://richfaces.org/a4j , uses tag a4j:ajax , no taglibrary associated namespace. not sure why warning.
i using eclipse luna build , deploy application.
library included:
i not sure choose right combination of technology, aim make application run on websphere v8.5.5. thanks.
updates:
500 after adding richfaces 4.2.3 web-inf/lib
exception javax.servlet.servletexception javax.faces.webapp.facesservlet.service(facesservlet.java:229) root cause java.lang.reflect.invocationtargetexception sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) java.lang.reflect.constructor.newinstance(constructor.java:408) org.apache.myfaces.shared.util.classutils.buildapplicationobject(classutils.java:561) org.apache.myfaces.shared.util.classutils.buildapplicationobject(classutils.java:487) org.apache.myfaces.config.facesconfigurator.configureapplication(facesconfigurator.java:542) org.apache.myfaces.config.facesconfigurator.configure(facesconfigurator.java:419) org.apache.myfaces.config.facesconfigurator.update(facesconfigurator.java:365) org.apache.myfaces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:111) javax.faces.webapp.facesservlet.service(facesservlet.java:197) root cause java.lang.noclassdeffounderror: com/google/common/base/function org.richfaces.resource.resourcehandlerimpl.<init>(resourcehandlerimpl.java:63) sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) java.lang.reflect.constructor.newinstance(constructor.java:408) org.apache.myfaces.shared.util.classutils.buildapplicationobject(classutils.java:561) org.apache.myfaces.shared.util.classutils.buildapplicationobject(classutils.java:487) org.apache.myfaces.config.facesconfigurator.configureapplication(facesconfigurator.java:542) org.apache.myfaces.config.facesconfigurator.configure(facesconfigurator.java:419) org.apache.myfaces.config.facesconfigurator.update(facesconfigurator.java:365) org.apache.myfaces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:111) javax.faces.webapp.facesservlet.service(facesservlet.java:197)
if include mojarra 2.1.6 web-inf/lib, eclipse cannot deploy.
Comments
Post a Comment