on 06-30-2009 3:40 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.