How to check JSF version

If you know an easy way to check, please let me know

Method 1. Check with the FacesContext class

  1. Find the class that imports the FacesContext class
    1. $ grep -iIr import | grep FacesContext
  2. Select a class that is easy to debug and set a breakpoint
  3. Debug
  4. When you reach a breakpoint, check the version with the following results on the [Expression] tab of Eclipse.
    1. FacesContext.class.getPackage().getImplementationVersion();
    2. FacesContext.class.getPackage().getImplementationTitle();

image.png

Method 2. View MANIFEST.MF

Try opening /META-INF/MANIFEST.MF

Method 3. View pom.xml

For Maven projects

    <dependency>
      <groupId>org.glassfish</groupId>
      <artifactId>javax.faces</artifactId>
      <version>2.3.9</version>
      <scope>provided</scope>
    </dependency>

reference

Recommended Posts

How to check JSF version
[AWS] How to check logs
How to lower java version
How to check Java installed on Mac
How to deploy
How to install the legacy version [Java]
How to specify id attribute in JSF
How to add application version information to Sentry information
How to check the logs in the Docker container
Summary of how to create JSF self-made tags
How to make duplicate check logic more readable
How to make Unity Native Plugin (Android version)
How to write React Native bridge ~ Android version ~
How to run NullpoMino 7.5.0 on Ubuntu 20.04.1 64bit version
How to check Rails commands in the terminal
How to develop OpenSPIFe
How to call AmazonSQSAsync
How to use Map
How to write Rails
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to check the latest version of io.spring.platform to describe in pom.xml of Spring (STS)
How to use collection_select
How to adapt Bootstrap
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to write dockerfile
[How to use label]
How to make shaded-jar
How to write docker-compose
How to use identity
How to use hashes
How to write Mockito
How to create docker-compose
How to use JUnit 5
How to install MySQL
How to write migrationfile
How to build android-midi-lib
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to install ngrok
How to type backslash \
How to concatenate strings
How to use Struts2 * Spring Framework (Spring plugin) June 2017 Version
[Ruby] How to use rbenv (version `x.x.x'is not installed)
How to check CircleCI code and automatically deploy to Heroku
Install MySQL 5.6 on CentOS6 [How to specify the version]
How to download the old version of Apache Tomcat
[Linux] Easy commentary! How to check and change permissions