2 Replies Latest reply on Nov 22, 2006 11:04 PM by rob.stryker

    JSF Basic Tutorial gives an error.

    garymarsh

      Hello,

      I am trying to run the JSF Basic Tutorial (By Raghu Srinivasan, Oracle Corporation. May 24, 2006) that I found in the JBoss IDE for Eclipse help file. Everything worked and looked good until I got to the part where you are suppose to run the login.jsp on the Tomcat server. When I attempt to run the login.jsp file I got a error dialog that states "The selection is not in a valid module." I don't understand the meaning of the error message. The project is identical to the one in the tutorial and the login.jsp file is located in the WebContent folder. Has anyone executed this tutorial recently within the JBoss IDE?

      Any help is appreciated.

      Gary

        • 1. Re: JSF Basic Tutorial gives an error.
          garymarsh

          BTW I am running the JBoss IDE with Build id: 2.0.0.Beta2. and Tomcat 5.5.12.

          Gary

          • 2. Re: JSF Basic Tutorial gives an error.
            rob.stryker

            The JSF portion of JBoss IDE is actually from eclipse. It seems that their module artifact adapter (which turns a selection into something that can be run on a server) is incomplete.

            That error message only appears if an "artifact" is found, but it's module is empty. This, from my experience with the code, should only happen due to a programming oversight or error.

            Again, this would be a bug for eclipse and whichever project the JSF component is in. I assume it's webtools but am not sure.