on 02-27-2006 1:26 AM
Guys,
I created a Java Project in NWDS and I get an error on the
"import com.sap.aii.mapping.api.StreamTransformation;" line: The import com.sap cannot be resolved
What am I missing?
It's probably something basic, I'm doing my baby steps in both NWDS and Java.
Thanks a lot,
Viktor
Viktor,
You have not set the classpath. For this :
1. Get the file aii_map_api.jar from XI server (if you have not done this already).
2. Create a new folder in the Java project you have created for mapping program. Name it as "lib"(any name would do..I just try to follow widely used naming conventions).
3.Copy the jar file aii_map_api.jar to this folder.(You can copy it in explorer and go to NWDS, select the lib folder and do a Ctrl + V).
4. Right click on the java project, select properties. Select Java build path. Go to Libraries tab. Click on the button "Add jars". In the dialog that pops up select your java project> lib> aii_map_api.jar.
5. Click apply / OK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.