cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler is not recognizing MDM jar classes

Former Member
0 Kudos

hi Experts,

I am trying to cretae a java wrapper on top of MDM using Java API's. I created a simple java program and i was able to access the MDM repository. But when I created a Java DC I am getting the build errors in the same code.

the steps I followed.

1) added all the five jars in the java build path.

2) cretaed a classpath variable which points to the location of the jar files in (window->preferences->java->classpathvariables)

3) wrote a program which uses the classes mentiond in the jar files (without compilation errors)

Now I build the program and build gets failed.

The errors shown are

package com.sap.mdm.data does not exist

package com.sap.mdm.extension does not exist

i.e whatever packages I have used in the programs are not recognized by the java compiler.

Best Regards

Pramod

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

I got the solution for above problem.

DC's doesn't recognize added jars in the java build path. You have to add them in the external library and than expose these jars to the other DC by adding them in the public part of the external library DC.

Enjoy.