0

我创建了一个名为 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但没有成功。

4

2 回答 2

1

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

于 2009-10-07T15:05:13.683 回答
0

看起来您还必须删除 ejb 描述符中的引用条目(我认为它是 ejb-jar.xml )

于 2009-10-07T15:06:17.410 回答