You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WildFly部署时缺失BeanManager服务的问题求助

WildFly部署时缺失BeanManager服务的问题求助

我在尝试用WildFly服务器部署Java文件时,碰到了这样的报错信息:

""WFLYCTL0412: Required services that are not installed:" =>
["jboss.naming.context.java.jboss.resources.BeanManager"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
["service
jboss.naming.context.java.module."task_manager-1.0-SNAPSHOT"."task_manager-1.0-SNAPSHOT".env.BeanManager
is missing
[jboss.naming.context.java.jboss.resources.BeanManager]"]""

我的beans.xml文件目前在main/java/webapp/META-INF这个路径下。之前我试过把它移到src/main/resources/META-INF,还在pom.xml里添加了这段配置:

<resources>
    <resource>
        <directory>src/main/webapp</directory>
        <includes>
            <include>WEB-INF/beans.xml</include>
        </includes>
    </resource>
</resources>

有没有大佬能帮我解决这个问题呀?

备注:内容来源于stack exchange,提问作者Rafael Araújo

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.14 09:37:58