3 Replies Latest reply on Jul 28, 2015 6:14 AM by mmusaji

    EAP 6.4 doesn't support JSF 2.2?

    twittmin
      javax.servlet.ServletException: /search.xhtml @13,58 <f:viewAction> Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: viewAction javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) 

       

      Hello, I have a JSF file that uses <f:viewAction> tag and it reports this error. Does it mean EAP doesn't support this tag? What about Wildfly 8?

        • 1. Re: EAP 6.4 doesn't support JSF 2.2?
          lylewang

          JSF 2.2 comes with Java EE 7 spec.

          EAP 6.x is EE 6 container (EAP 6.4 has JSF 2.1.28.Final)

          If you have to use JSF 2.2 then you're looking at Java EE 7 compatible containers

           

          Wildfly 8 should do, if you could have a try please let us know

           

          On JBoss AS 7 / EAP 6, there is a possible solution to exclude some JBoss provided modules and then install your own JSF 2.2 as a custom module : Installing JSF 2.2 on JBoss AS 7

          But it's not officially supported and I haven't tried this, the same as above if you've got a chance to try it out please let us know Thanks.

          • 2. Re: EAP 6.4 doesn't support JSF 2.2?
            twittmin

            It's good to know.

             

            In WildFly 8.2, I downloaded the Wildfly Quickstart from the github, and I imported the HellowWorld project into Jboss Developer Studio 8.1.0.GA. However, I always received this error below when I click "Run on Server":

            Publishing failed

            Could not publish to the server.

            null argument:

            Could not publish to the server.

            null argument:

            Could not publish to the server.

            null argument:

            Could not publish to the server.

            null argument:

            Could not publish to the server.

            null argument:

             

            What might cause this?

            • 3. Re: EAP 6.4 doesn't support JSF 2.2?
              mmusaji

              Maybe best to ask this question over on the JBDS forum - https://developer.jboss.org/en/products/devstudio

               

              However, sounds like the server or the project isn't set up correctly. Can you start the server from the IDE?