gpt4 book ai didi

java - 违反 EJB 规范

转载 作者:行者123 更新时间:2023-12-01 16:10:13 29 4
gpt4 key购买 nike

我创建了一个名为 EvenementBean 的 EJB 2 进行测试。然后我就把它删除了。现在每当尝试部署我的 .ear 项目时,我都会收到以下错误:

    WARN [verifier] EJB sepc violation:
Bean: Evenement
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class
that implements the enterprise bean's business methods in the <ejb-class> element.

Info : class not found on 'com.afb.iard.sina.evenement.EvenementBean' : No
ClassLoaders found for : com.afb.iard.sina.evenement.EvenementBean.

Could not create deployment: File:/E:/DIR1/jboss-4.2.1.GA/server/ABrain/tmp/deploy
/tmp...
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed,
see above.

我使用的是jboss-ide 1.6。我已经多次重新启动 IDE,但都没有成功。

最佳答案

我怀疑您的某个部署描述符中的某些内容已过时,因此 JBoss 正在尝试加载您已删除的 bean 的 .class 文件。

关于java - 违反 EJB 规范,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1532189/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com