开发者

EJB Spec Violation

I created an EJB 2 named EvenementBean for test. I then deleted it. and whenever 开发者_JAVA百科trying to deploy my .ear project now, I get these errors :

    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.

I am using jboss-ide 1.6. and I've already restarted the IDE several times without success.


I suspect something in one of your deployment descriptors is out-of-date, and therefore JBoss is trying to load the .class file for the bean you have since deleted.


Looks like you have to delete also the reference entry in the ejb descriptor ( I think it is ejb-jar.xml )

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜