Question

I created an EJB 2 named EvenementBean for test. I then deleted it. and whenever 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.

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top