Avatar

Level 1

Hi,

I have a DSC where I try to get the queues for a user:

QueueManager queryService = QueueManagerClient.getInstance(factory);

GroupQueue[] groupQueues = queryService.getGroupQueuesForUser();

When I deploy it, I receive this:

Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue

If I add the adobe-taskmanager-client.jar to my component the deployment works fine but the invokation of the service fails with a class cast exception:

Caused by: java.lang.ClassCastException: [Lcom.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue; cannot be cast to [Lcom.adobe.idp.taskmanager.dsc.client.queuemanager.GroupQueue;

Any ideas?

Christian