The velocity-allowlist module cannot be enabled when running Confluence with Java 21
Description
When running Confluence with Java 21, the velocity-allowlist module is getting disabled and cannot be enabled again, which breaks the displaying of content in Viewport.
Steps to reproduce
Install Scroll Viewport version 2.23.1 on a Confluence 9.2.0 Data Center instance running with Java 21
Expected result
Scroll Viewport Help Center theme displays the themed content
Actual result
No actual content is shown, Viewport pages do not display properly and the velocty-allowlist module is disabled (60 out of 61 modules installed showing in the UPM).
When running Confluence with Java 21, the velocity-allowlist module is getting disabled and cannot be enabled again, which breaks the displaying of content in Viewport.
Steps to reproduce
Install Scroll Viewport version 2.23.1 on a Confluence 9.2.0 Data Center instance running with Java 21
Expected result
Scroll Viewport Help Center theme displays the themed content
Actual result
No actual content is shown, Viewport pages do not display properly and the velocty-allowlist module is disabled (60 out of 61 modules installed showing in the UPM).