Sound like your bean implementation has an anonymous inner class
that wasn't included in the JAR file.  When you build your EJB JAR file,
make sure to include MyBean$7.class presumably in your com/blah directory.

---
Michael R. Maraya

> ----------
> From:         Hermann RANGAMANA[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Thursday, July 12, 2001 5:47 AM
> To:   [EMAIL PROTECTED]
> Subject:      [JBoss-user] Deployment problem ...
> 
> Hi all,
> 
> I deploy my bean, and jBoss throws the following exception, once by the
> verifier, and then by [auto-deploy].
> 
> Here is the exception. Note that the my bean class name is, say,
> com.blah.MyBean, but the [verifier] (and then the the auto-deployer) is
> looking for another class (com.blah.MyBean$7) to verify and deploy, maybe
> an
> on-flight created and compiled class :
> 
> [J2EE Deployer Default] Starting bin-part1-deploy.jar failed!
> [Auto deploy] java.lang.NoClassDefFoundError: com/blah/MyBean$7
> [Auto deploy]   at java.lang.Class.getMethod0(Native Method)
> [Auto deploy]   at java.lang.Class.getMethod(Class.java:888)
> [Auto deploy]   at
> org.jboss.ejb.StatelessSessionContainer.setupBeanMapping(StatelessSessionC
> on
> tainer.java:368)
> [Auto deploy]   at
> org.jboss.ejb.StatelessSessionContainer.init(StatelessSessionContainer.jav
> a:
> 144)
> [Auto deploy]   at org.jboss.ejb.Application.init(Application.java:183)
> ....
> 
> Can anyone shed a light on what's happening? And how it can be solved?
> 
> Thanx
> 
> --hermann
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to