[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to c:\temp\buji-pac4j-demo\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /c:/temp/buji-pac4j-demo/src/main/java/org/pac4j/demo/shiro/RoleAdminAuthGenerator.java:[3,46] cannot access org.pac4j.core.authorization.generator.AuthorizationGenerator
bad class file: C:\Users\acam0008\.m2\repository\org\pac4j\pac4j-core\5.1.0\pac4j-core-5.1.0.jar(org/pac4j/core/authorization/generator/AuthorizationGenerator.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.310 s
[INFO] Finished at: 2021-06-16T13:46:52+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project buji-pac4j-demo: Compilation failure
[ERROR] /c:/temp/buji-pac4j-demo/src/main/java/org/pac4j/demo/shiro/RoleAdminAuthGenerator.java:[3,46] cannot access org.pac4j.core.authorization.generator.AuthorizationGenerator
[ERROR] bad class file: C:\Users\acam0008\.m2\repository\org\pac4j\pac4j-core\5.1.0\pac4j-core-5.1.0.jar(org/pac4j/core/authorization/generator/AuthorizationGenerator.class)
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException