2

I am trying to use Google Guava Optional in EL but get the following error:

java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class com.google.common.base.Present with modifiers "public"

Here is the code:

<f:param name="locale" value="#{somebean.getUserLocale().get()}"/>

Is it not possible?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Markus K
  • 1,585
  • 2
  • 17
  • 25

0 Answers0