on 02-09-2011 10:15 AM
Hi,
I am new to NWDS java developmennt.
I have succesfully developed, deployed a demo EJB to J2EE and also able to execute it from my SAP portal server.
I am trying to use the user management API ot Portal (like package com.sap.security.api), however when I write the following statement, it gives an error on my local NWDS build.
import com.sap.security.api;
Question is how do I refer to this remote package (or any other SAP package) which is lying on J2EE on my local NWDS software build.
Thanks,
Amit Jain
Addd the jar file com.sap.security.api in your project by following the path
right click on the project
then
(Project Properties -> Java Build path -> Libraries tab -> Add External JARs button)
then find out this jar and add it.
thanks
sarjbeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is answered. The standard SAP packages are available on local machine.
Right click on project->properties
Selectr Java Build path-> Libraries->Add Variable->Select ECLIPSE_HOME
Hit Extend
Select Plugins
Select com.sap.security_2.0.0
Now the import com.sap.security.api.* statement will not give any syntax errors.
Closing the thread.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.