
The version of the JAR files you reference in your project in the SAP NetWeaver Developer Studio must be the same as the version on the portal you use for deployment and testing.
. To do this: Identify all the JAR files you need to reference in your project. If you use a particular Knowledge Management class or interface, you can identify the corresponding JAR file in the Javadocs. The Javadocs specify the name of the JAR file that each interface or class belongs to.
For Knowledge Management (KM), you need to reference:
tc~km~frwk.jar file
Additional portal JAR files if you use portal classes or interfaces
You can find the tc~km~frwk.jar file in the following folder in the initially set by you system drive and workspace: LocalDevelopment\KMC-CM\sap.com\tc\km\frwk\_comp\gen\default\public\api\lib\java.
Copy all the JARs that you need for the project from the portal for deployment to the workspace of your project. To do this:
Create a folder in your project workspace with .
Copy the following KM JAR file to the folder: tc~km~frwk.jar .
If required, copy further portal JAR files to the folder.
Add the JAR files you need for your project to the Java build path of your project. To do this, choose and then select Java Build Path and choose Add Jars .
To ensure acceptable performance, only reference the JARs you actually need for your development project.