Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13990

Cannot deploy Showcase in JBDS 8

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.5.4
    • Component/s: examples
    • Labels:
      None

      Description

      In JBDS 8.0.2, it's not possible to deploy Showcase from RichFaces distribution because it tries to use Java 5 which is not supported by JSF/JPA and possibly other dependencies.

      To fix, only following need to be added to richfaces/examples/showcase/pom.xml:

      <properties>
        <maven.compiler.target>1.6</maven.compiler.target>
        <maven.compiler.source>1.6</maven.compiler.source>
        ...
      </properties>
      

      After that, project can be built and deployed to Tomcat 8 but fails in runtime on a JSP exception. To fix that, we need to add following to showcase/src/main/webapp-tomcat/web.xml:

      <welcome-file-list>
        <welcome-file>faces/index.xhtml</welcome-file>
        ... others are not necessary but can stay there
      </welcome-file-list>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  ppitonak Pavol Pitoňák
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: