Hello,
I am trying to build a test application which should use a JavaBean model.
For that matter I created a JavaBean (according to the command bean pattern), DTO and a business delegate class.
All these classes are located in one DC.
I put a reference (Used DCs) to the WebDynpro project.
During design time I am able to create the model using the Java Bean class.
Modeling is ok, but when I try to deploy and run the application (on a remote server), I get a
java.lang.NoClassDefFoundError
The detailed trace shows
...
Caused by: java.lang.NoClassDefFoundError: com.camelot.cmeio.beans.material.command.MaterialBean
at com.camelot.test.app.wdp.InternalTestApp.<init>(InternalTestApp.java:45)
So, it seems during runtime the WebDynpro project doesn't find the command bean.
Any idea how to solve this problem?
I already tried to pack the Bean classes in a library which is deployed on the server.
Thanks,
Michael