2 Replies Latest reply on Jan 27, 2011 12:03 PM by ericjvandervelden

    Tools & JSF 2.0

    ericjvandervelden

      Hello,

       

      If I do File -> New -> Seam Web Project and choose JSF 2.0 and for the rest choose the defaults, I cannot deploy the application. The project is called 'hello' and I see the errors,

       

      2011-01-23 18:25:13,087 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Initializing Mojarra 2.0.3 ( b05) for context '/hello'

      2011-01-23 18:25:14,975 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Unsanitized stacktrace from failed start...: javax.faces.view.facelets.FaceletException: Must have a Constructor that takes in a ComponentConfig

              at com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.<init>(AbstractTagLibrary.java:292) [:2.0.3-]

      ...

       

      2011-01-23 18:25:14,993 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hello]] (HDScanner) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossMojarra20ConfigureListener: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.ui.handler.CommandButtonParameterComponentHandler.<init>(javax.faces.view.facelets.ComponentConfig)

              at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351) [:2.0.3-]

      ...

       

      2011-01-23 18:25:15,000 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) 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:800) [:2.0.3-]

      ...

       

      2011-01-23 18:25:15,089 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Start: name=jboss.web.deployment:war=/hello state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentException: URL file:/home/eric/Eclipse/Java/3.6_6/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.0_Runtime_Server1295771824448/deploy/hello-ear.ear/hello.war/ deployment failed

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:325) [:6.0.0.Final]

      ...

       

      Thanks,

       

      Eric J.