RTC Extending, Runnable Jar (getClientLibrary returns null)
Hello,
I want to create from my project which manages absences a runnable jar, I am using the Plain Java Api and a absences API from rsjazz, but everytime I try to run the program, a NullPointerException occurs because the method getClientLibrary(IResourcePlanning.class) returns null, what can I do against it, in order to run my program successfully,
Thanks in advance.
Nicolai Helldorff
Accepted answer
Because the package is com.ibm.team.apt.internal.client.resource IResourcePlanningClient is therefore part of the agile planning internal API. This is only shipped with the RTC Eclipse client SDK and not with the Plain Java Client Libraries. You would have to find the jar that contains it and add it to the classpath.
Comments
One other answer
The call is
IResourcePlanning.class does not exist or is no client library.
final IResourcePlanningClient resourcePlanning = (IResourcePlanningClient) teamRepository.getClientLibrary(IResourcePlanningClient.class);
IResourcePlanning.class does not exist or is no client library.
Comments
showing 5 of 6
show 1 more comments