cancel
Showing results for 
Search instead for 
Did you mean: 

Class not found exception in MDM WBJ applicaiotn

Former Member
0 Kudos

Dear Experts,

I am facing one strange problem while creating a WDJ applicaiotn. I am trying to connect to MDM dataBase through a WDJ applicaiton. I am developing this appl by NWDS. This applicaiotn doesn't show any compilation error in NWDS when i use the mdm-common.jar file in java build path of NWDS. I've kept the same jar file in lib folder of this applicaiotn as well to be used while running this appl by j2ee engine but when i am trying to run this applicaiotn i am getting class not found exception ..the error message points to the location of the code which uses the class of this jar file.

Please help..am i missing anything.

Thanks and Regards,

M.D.Sahu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

i have also tried this before and for me it doesn't work. So I have imported the sca file as Software Component in NWDS and set dependency from WD App to mdm4j DC.

BR,

Timo

Former Member
0 Kudos

Thanks for your quick reply.

I got the solution, i added the jar file reference in Library Reference tab in property of the WDJ appl.

Former Member
0 Kudos

Hi,

because you added the jars to build-path you get no error at build time. But this exception is thrown at runtime.

You should check whether MDM API is deployed on the server and you are using the same version at build time.

BR,

Timo

Former Member
0 Kudos

I've kept the same jar file in lib folder of webdynpro applicaiotn as well so it should work.