ICEfaces
  1. ICEfaces
  2. ICE-11400

java.lang.NoClassDefFoundError: javax/enterprise/context/spi/Contextual when using JSF 2.3 with tomcat

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      JSF 2.3 Tomcat

      Description

      When using JSF 2.3 with apache tomcat, there is a dependency of JSF 2.3 with the following api:-
      <dependency>
          <groupId>org.glassfish</groupId>
          <artifactId>javax.faces</artifactId>
          <version>2.3.5</version>
      </dependency>

      This must be added to the samples parent pom for JSF 2.3 (ICEfaces 4.3 GA release will have this added as will the ee versions).
      jar to be added to libs folder for ant build. (Ken to review licensing).

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52463 Wed May 30 11:12:57 MDT 2018 judy.guglielmin ICE-11400 dependency on cdi-api for JSF 2.3 added to samples.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/pom.xml
          Judy Guglielmin created issue -
          Judy Guglielmin made changes -
          Field Original Value New Value
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Link This issue blocks ICE-11401 [ ICE-11401 ]
          Ken Fyten made changes -
          Fix Version/s 4.3 [ 13096 ]
          Judy Guglielmin made changes -
          Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
          Judy Guglielmin made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52471 Thu May 31 11:36:52 MDT 2018 judy.guglielmin ICE-11400 dependency on cdi-api for JSF 2.3 also applies to myfaces
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/pom.xml
          Hide
          Judy Guglielmin added a comment -

          reopen to modify pom.xml for myfaces as it has the cdi dependency as well.

          Show
          Judy Guglielmin added a comment - reopen to modify pom.xml for myfaces as it has the cdi dependency as well.
          Judy Guglielmin made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52472 Mon Jun 04 15:05:53 MDT 2018 ken.fyten ICE-11400 - Updated CDI dependency to v2.0 instead 1.2.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/pom.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #52474 Mon Jun 11 14:32:27 MDT 2018 mircea.toma ICE-11400 Added javax.inject-1.jar library for Myfaces deployment. Defined dependency in samples' pom.xml.
          Files Changed
          Commit graph ADD /icefaces4/trunk/icefaces/lib/myfaces/2.3/javax.inject-1.jar
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/pom.xml
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Judy Guglielmin
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: