首页 > 其他分享 >Unable to find CDI BeanManager

Unable to find CDI BeanManager

时间:2022-10-27 22:03:54浏览次数:41  
标签:xml CDI Unable 报错 BeanManager find

报错内容:Unable to find CDI BeanManager
javax.faces.FacesException: Unable to find CDI BeanManager的解决方法

解决方法:修改WEB-INF/web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

标签:xml,CDI,Unable,报错,BeanManager,find
From: https://www.cnblogs.com/xx2017/p/16834141.html

相关文章