Skip to Content
0
Sep 18, 2019 at 03:52 AM

IUserAliases cannot be resolved to a type

68 Views

Hi Expert,

I've faced below error when running a jsp file in admintools, for getting the si_aliases from ci_systemobjects because some users were disabled.

An error occurred at line: [52] in the jsp file: [/list_disabled.jsp]
IuserAliases cannot be resolved to a type
49:
50: for(Iterator boUsers = boInfoObjects.iterator(); boUsers.hasNext();) {
51: IUser boUserAccount;
52: IuserAliases userAliases;
53:
54: boUserAccount = (IUser) boUsers.next();
55: userAliases = boUserAccount.getAliases();

And I have tried to copy all the jar files from C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib

to C:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps\AdminTools\WEB-INF\lib

however, if i deleted code related to IUserAliases, the JSP file work good.

BTW, the BO system version is 4.2 SP7.