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
How to lower java version
How to check Java installed on Mac
Java version check
How to specify id attribute in JSF
How to add application version information to Sentry information
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 use nfs protocol version 2 with ubuntu 18.04
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 use rbenv
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 use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use TreeSet
How to install docker-machine
[How to use label]
How to write docker-compose
How to use identity
How to use hashes
How to write Mockito
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 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 only one RadioButton check by default (Note)
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
How to delete BOM (UTF-8)
[rails] How to post images
An unsupported Java version How to get rid of errors
How to use Chain API
[Java] How to use Map
How to use Priority Queuing
How to uninstall Java 8 (Mac)
How to write good code
Java --How to make JTable
How to handle uploaded images