Tossing this out there since it caught me. I had troubles loading scripting definitions after updating my projects to Java 21, and it seems that by default IJ runs on Java 17 which causes a loading issue.
Despite the warnings from documentation and the settings its self, I changed IJ to use Java 21 and it loaded as expected.