Skip to Content
Nov 07, 2005 at 12:27 PM

Class path Error urgent Plz


Hi Guys,

I was trying to write an WD application to check connector connectivity in EP, I have included these jar files in class path "" 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 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 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

Message was edited by: Yasir Noman