util classes in .vm templates (LR7)util classes in .vm templates (LR7)https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1084452192024-03-29T12:53:13Z2024-03-29T12:53:13ZRE: util classes in .vm templates (LR7)David H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1084569122018-05-17T17:51:54Z2018-05-17T17:51:54ZI think the locators such as staticUtil are still all registered for VM templates.<br /><br />For your issue, many classes are now in modules so they are not exposed in the portal's class loader.David H Nebinger2018-05-17T17:51:54Zutil classes in .vm templates (LR7)Alexander Wolfhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1084452182018-05-17T15:59:31Z2018-05-17T15:59:31ZHi,<br /><br />we are using <strong>$portal.getClass().forName(fullClassName)</strong> to get Access to util classes in .vm templates.<br />In Liferay 7 it seems that this no longer works.<br /&g