LoginSignup
1
2

More than 3 years have passed since last update.

JSFのバージョンを確認する方法

Last updated at Posted at 2020-07-14

簡単に確認できる方法を知っている方は教えてください

方法1. FacesContextクラスで確認する

  1. FacesContextクラスをimportしているクラスを探す
    1. $ grep -iIr import | grep FacesContext
  2. デバックしやすいクラスを選んでブレークポイントを張る
  3. デバックする
  4. ブレークポイントにきたらEclipseの[Expression]タブなどで以下の結果でバージョンを確認する
    1. FacesContext.class.getPackage().getImplementationVersion();
    2. FacesContext.class.getPackage().getImplementationTitle();

image.png

方法2. MANIFEST.MFを見る

/META-INF/MANIFEST.MFを開いてみる

方法3. pom.xmlをみる

Mavenのプロジェクトの場合

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

参考

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2