17:56:16,030 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-8) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1!
17:56:17,396 SEVERE [javax.enterprise.resource.webcontainer.jsf.flow] (MSC service thread 1-8) Unable to obtain CDI 1.1 utilities for Mojarra
17:56:17,400 SEVERE [javax.enterprise.resource.webcontainer.jsf.application.view] (MSC service thread 1-8) Unable to obtain CDI 1.1 utilities for Mojarra
Getting the same issue reported here on WildFly-16: [WFLY-10655] SEVERE error on deploy of ear: "Unable to obtain CDI 1.1 utilities for Mojarra" - JBoss Issue Tracker
I tried adding beans.xml in WEB-INF but still getting the same error!
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
bean-discovery-mode="annotated">
</beans>
What might be causing this on server startup?