on 2005 Nov 07 12:25 PM
Hi Guys,
I was trying to write codes to check connector connectivity, I have included these jar files in class path "com.sap.portal.ivs.connectorservice_api.jar" and "GenericConnector.jar".
The codes are like
IConnection connection = null;
IConnectorService cs = (IConnectorService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
IConnectorGatewayService cgs = cs.getIConnectorGatewayService();
connection = cgs.getconnection(Alias,request)
but as soon as I write this last line getconnection() I get error which is "Compilation unit indirectly references the missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService(typically some required class file is referencing a type outside the class path)"
and this given below error comes when I build the project.
"The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath then try rebuilding this project."
can any one please tell me how can I fix this problem.
Thanks in advance
Best Regards
Yasir Noman
Hi can you solve this error, if yes tell me how please
thanks
atte
Salvatore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.