Getting "Unable to find unambiguous method" when calling an enum function from JSF page in EAP 7.x

Solution Verified - Updated -


Seeing javax.el.ELException while trying to invoke a JSF page example.xhtml. The called function should use an enum as an input parameter but the EL-parser is expecting a string value

SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-1) Error Rendering View[/example.xhtml]: javax.el.ELException: /example.xhtml @17,90 value="#{foo.getPerson('MY_ENUM').nameS}": Unable to find unambiguous method: class

Also, the same code works on previous JBoss EAP 6.4.x version.


Red Hat JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content