did you found some solution about this issue? I have the same problem.
Scenario:
dxp.2024.q4 blade version 7.0.2.202411120004 gradle 8.5 with Java 17.
I modified TransformUtil for this package:
com.liferay.petra.function.transform.TransformUtil but I receive same error.
Thanks in advanced.