पर रिचफेस जोड़ना मैं इस jboss guide का उपयोग कर अपने जेएसएफ 2 प्रोजेक्ट में समृद्ध जोड़ों को जोड़ने की कोशिश कर रहा हूं। मैंने बिंदु 2.6 में जो कहा है, मैंने किया है, लेकिन मेरे टॉमकैट सर्वर को पुनरारंभ करने के बाद, HTTP स्थिति 404 की सूचना दी गई है।मौजूदा जेएसएफ 2 प्रोजेक्ट
क्या मुझे कुछ याद आया ??
अद्यतन: जब मैं richfaces घटकों-ui-4.0.0.Final.jar और richfaces कोर-impl-4.0.0.Final.jar, जोड़ सकते हैं और बिल्ला सर्वर को पुनः आरंभ, यह रिपोर्ट:
INFO: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException:
Source Document: jar:file:/D:/WORKSPACE/BC/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/PORTAL/WEB-INF/lib/richfaces-core-impl-4.0.0.Final.jar!/META-INF/faces-config.xml
Cause: Unable to create a new instance of 'org.richfaces.resource.ResourceHandlerImpl': java.lang.reflect.InvocationTargetException
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:293)
....
13.5.2011 8:41:52 com.sun.faces.config.ConfigureListener contextInitialized
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.google.common.base.Function
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:379)
....
13.5.2011 8:41:52 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.google.common.base.Function
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
....
13.5.2011 8:41:52 org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
13.5.2011 8:41:52 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/PORTAL] startup failed due to previous errors
13.5.2011 8:41:52 com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:894)
....
और अब मुझे यकीन है कि जो पुस्तकालयों JSF2 के लिए आवश्यक होते हैं और नहीं कर रहा हूँ जो RICHFACES के लिए ..