Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
CSSDK error
kalpanat
I have created a java file that retreives the users for a specified group (say "testGrp"). I have all the required libraries and also the necessary imports in the java file (I have not included the whole code here as it is too large).
I am getting an error when i try to get the name of the group when iterating through the TS groups retrieved from the client object.
The error is : cannot access com.interwoven.sharedutils100.xml.Emittable
file com/interwoven/sharedutils100/xml/Emittable.class not found
Not sure what this means, any help would be appreciated.
The code snippet:
CSIterator usersIterator = null;
CSIterator grpsIterator = null;
try {
// get all the groups from teamSite
grpsIterator = client.getPrincipalManager().getAllTSGroups();
} catch (CSException e1) {
e1.printStackTrace();
}
// loop through the groups retrieved above
while(grpsIterator.hasNext()){
try{
// get the first element from the iterator and cast it as CSGroup
CSGroup grp = (CSGroup)grpsIterator.next();
// get the displayName for the group
// I am getting an error at the following line
String Dtmp = (String)grp.getDisplayName();
// error:
// cannot access com.interwoven.sharedutils100.xml.Emittable
// file com/interwoven/sharedutils100/xml/Emittable.class not found
String Ntmp = grp.getName();
String Ftmp = grp.getFullName();
String Dtmp = grp.getDisplayName();
} catch (CSException e1) {
e1.printStackTrace();
}
}
Thanks,
Find more posts tagged with
Comments
kalpanat
I am replying for my own thread. I identified the problem and would like to share the solution in case someone else has the same issue:
Need to include this jar file in the classpath:
"sharedutils100.jar"
once that is done the code compiles fine.
Thanks,
Bill Klish
Yeah in 6.7.1 SP1 for whatever reason, Interwoven added that as a required jar for code to work correctly instead of it being consolidated in the cssdkiface.jar/cssdkjni.jar/cssksoap.jar as it used to be.