The plugin has been updated to work with java 1.17 and 1.17.1.
Attention!
If you are using java 16 and newer (which is required for Minecraft 1.17+), you will need to add the following to your startup script of the server:
Code (Text):
--illegal-access=permit --add-opens java.base/java.lang.invoke=ALL-UNNAMED
In Java 15 and earlier, these settings were the default, but Java 16 made the way you interact with certain parts of the code more strict. These parameters are needed for my plugin to work correctly, due to my use of the Spring Framework.
As an example, the startup.bat script could look something like this:
Code (Text):
@echo off
java --illegal-access=warn --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -Xmx4g -jar spigot.jar
pause