Getting error' Can not find symbol method entry' in Intelli j(Java)

When running the recording script from intelli j on my system- Can not find symbol entry’-Please see the attached screenshot.
Using Java version-17
Gatling version

This means you have a configuration issue with your IntelliJ module and it’s not using Java 17 but an older version, see Module structure settings | IntelliJ IDEA

Thanks @slandelle for your help.
Working now after updating the Java sdk in Intelli j.