Skip to content

Compatibility to Mojarra 2.2.11+ #2

@stephanrauh

Description

@stephanrauh

Mojarra 2.2.11 changed the way JSF is initialized. Chances are your demo is affected, too. See more details here: https://java.net/jira/browse/JAVASERVERFACES-3957

The bottom line is the last statement of Manfred Riem:
"When you are using Mojarra on a container it is the container responsibility to a) either pass the AnnotatedSet in or b) supply a compliant InjectionProvider. While previously we had JavaClassScanningAnnotationScanner in our codebase it was determined it is not compatible with either Java8 or the upcoming changes in Java9.
So for Spring Boot you basically have 2 options going forward a) generate the AnnotatedSet yourself (preferred as JSF 2.3 is going to remove the InjectionProvider API), or b) use a patched version of JavaClassScanningAnnotationScanner."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions