Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to get FileSystemCore's content manager!

Hi,

Whenever i call the method FileSystemCore.getContentManager(repository);  I am getting the below error.
I know i am missing some dependencies, but not sure which one.
If you have any clue about the below error kindly let me know -


java.lang.NoClassDefFoundError: com/ibm/team/internal/repository/rcp/streams/DigestComputingInputStream
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at com.ibm.team.filesystem.client.internal.FileSystemManager.<init>(FileSystemManager.java:41)
    at com.ibm.team.filesystem.client.internal.FileSystemClientLibraryFactory.createClientLibrary(FileSystemClientLibraryFactory.java:22)
    at com.ibm.team.repository.client.internal.ClientLibraryFactoryRegistry.getClientLibrary(ClientLibraryFactoryRegistry.java:91)
    at com.ibm.team.repository.client.internal.TeamRepository.getClientLibrary(TeamRepository.java:527)
    at com.ibm.team.filesystem.client.FileSystemCore.getFileSystemManager(FileSystemCore.java:166)
    at com.ibm.team.filesystem.client.FileSystemCore.getContentManager(FileSystemCore.java:174)
    at com.bosch.rtc.utils.common.technical.RTCUtils.getFileContentManager(RTCUtils.java:100)

0 votes


Accepted answer

Permanent link
com/ibm/team/internal/repository/rcp/streams/DigestComputingInputStreamindicates this is not a part of the plain java client libraries, but in com.ibm.team.repository.rcp.common which only ships with the SDK and is part of the RTC Eclipse disribution.
praveen hanchinamani selected this answer as the correct answer

0 votes

Comments

Thank you Ralph Schoon for your quick reply.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 19 '16, 3:58 a.m.

Question was seen: 1,051 times

Last updated: Jan 19 '16, 5:18 a.m.

Confirmation Cancel Confirm