Hi,
This problem is confusing me. I have a Web Dynpro for Java project that is making a connection to MDM. The code is very simple but I cannot get round this exception
LinkageError: Class com/sapportals/connector/connection/IConnection violates loader constraints
Which is occuring when the connection.retrieveNative() method is being called.
If anyone has any idea what this could be, please let me know. I will be very grateful. The code I am using is below.
IConnectorGatewayService cgService = (IConnectorGatewayService)WDPortalUtils.getServiceReference(IConnectorGatewayService.KEY);
IUser user = UMFactory.getUserFactory().getUserByLogonID(loginId);
ConnectionProperties prop = new ConnectionProperties(user.getLocale(), user);
connection = cgService.getConnection(alias, prop);
INative nativeInterface = connection.retrieveNative();
Many Thanks
Gary