JSF1006: Cannot instantiate converter of type jakarta.faces.BooleanConverter in JBoss EAP 8

Solution Verified - Updated -

Issue

  • JSF Application using the boolean converter is failing with this error:
 SEVERE [jakarta.enterprise.resource.webcontainer.faces.application] (default task-1) JSF1006: Cannot instantiate converter of type jakarta.faces.BooleanConverter
 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /eap8-jsf/index.jsf: jakarta.servlet.ServletException: Expression Error: Named Object: jakarta.faces.BooleanConverter not found.
    at jakarta.faces.impl@4.0.7.redhat-00001//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:709)
    at jakarta.faces.impl@4.0.7.redhat-00001//jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
    at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        ...
Caused by: jakarta.faces.FacesException: Expression Error: Named Object: jakarta.faces.BooleanConverter not found.
    at jakarta.faces.impl@4.0.7.redhat-00001//com.sun.faces.util.Util.notNullNamedObject(Util.java:518)
    at jakarta.faces.impl@4.0.7.redhat-00001//com.sun.faces.application.applicationimpl.InstanceFactory.createConverter(InstanceFactory.java:418)
    at jakarta.faces.impl@4.0.7.redhat-00001//com.sun.faces.application.ApplicationImpl.createConverter(ApplicationImpl.java:475)
    at jakarta.faces.impl@4.0.7.redhat-00001//jakarta.faces.application.ApplicationWrapper.createConverter(ApplicationWrapper.java:335)
    at jakarta.faces.impl@4.0.7.redhat-00001//com.sun.faces.facelets.tag.faces.ValueHolderRule$LiteralConverterMetadata.applyMetadata(ValueHolderRule.java:46)
    at jakarta.faces.impl@4.0.7.redhat-00001//com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:40)
    at jakarta.faces.impl@4.0.7.redhat-00001//jakarta.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:101)
        ... 
    ... 43 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8.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