I got ClassCastException....

here the sample:
[EMailContact] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
        javax.ejb.EJBException
[EMailContact] java.lang.ClassCastException: java.lang.NoClassDefFoundError
[EMailContact]  at org.jboss.ejb.plugins.BMPPersistenceManager.createEntity(BMPP
ersistenceManager.java:151)

It is because i have not inserted some beans in *.jar files.

Inside the ejb create i call another bean but this bean is not in my class
so far...

have a good day
D&D


>Why? What class is it then?


On Mon, 04 Dec 2000 15:27:03 +0100, Rickard �berg wrote:

>Hi!
>
>Darius Davidavicius wrote:
>> later exception type is checked and needed exeption is thrown but if no one maches
>>          {
>>             // Rethrow exception
>>             throw (Exception)e;
>>          }
>> BUT e CANNOT BE CASTED TO Exception
>
>Why? What class is it then?
>
>/Rickard
>
>--
>Rickard �berg
>
>Email: [EMAIL PROTECTED]
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to