Skip to Content
avatar image
Former Member

Public Parts and NoClassDefFound

Hi,

I created an EJB with a public part. in the public part there are two classes.

now I want to use the classes in a WebDynpro-Project (same SC). I added the public parts as used-DC in my WebDynpro-DC and I am able to build and deploy the DC.

But now I get a RuntimeException "NoClassDefFoundError".

Did I forget to add a reference???

Thanks in advance

Jan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 17, 2006 at 10:40 AM

    Hi Jan,

    Check if you have deployed the DC containing the EJB as well. Build both the embedder and embedding DCs and deploy them.

    You may refer Using" target="_blank">www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">Using EJBs in Web Dynpro Applications for a better approach.

    Bala

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2006 at 11:35 AM

    Hi Jan,

    Check

    1) If you have deployed your EJB on the server.

    2) When you created the usage, what dependency you gave (runtime, designtime)

    3) You might have to add your EJB as a WebDynpro Reference.

    Regards,

    Shubham

    Add comment
    10|10000 characters needed characters exceeded