jsf 2 - How to find JSF version in the ear correctly -


when use below code returns version 1.0.0.0_2-1

string version = facescontext.class.getpackage().getimplementationversion(); 

but when check manifest.mf file in myapp.ear\myweb.war\web-inf\lib\jsf-impl.jar\meta-inf\ mentioned below.

implementation-version: 2.0.2-fcs 

so question 1 correct version project use? use oracle weblogic 12c instance.

for question :

    1 correct version project use? 

implementation-version: 2.0.2-fcs correct version project use.

you can find solution here.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -