Estou estudando o tópico 02 (Apresentando o Spring Security) da aula 02 (Segurança com HTTP Basic).
Meu projeto está conforme indicado em https://cursos.alura.com.br/course/kotlin-spring-seguranca-infraestrutura/task/106390 e mesmo assim não consigo executar "mvn package" e nem rodar o projeto, respectivamente, conforme indicam os outputs a seguir.
Já tentei invalidar a cache, forçar a reindexação, recarregar o projeto, rodar "mvn clean" e re-gerar os fontes e atualizar o projeto via Maven, mas sem sucesso em rodar a aplicação e acessar o menu de autenticação no navegador.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.411 s
[INFO] Finished at: 2022-09-08T15:09:10-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.4.31:compile (compile) on project forum: Compilation failure
[ERROR] java.lang.ExceptionInInitializerError
[ERROR] at com.intellij.pom.java.LanguageLevel.<clinit>(LanguageLevel.java:25)
...
[ERROR] Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @297c9a9b
[ERROR] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
..
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.4.31:compile (compile) on project forum: Compilation failure
java.lang.ExceptionInInitializerError
at com.intellij.pom.java.LanguageLevel.<clinit>(LanguageLevel.java:25)
...
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @297c9a9b
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
...
Caused by: org.jetbrains.kotlin.maven.KotlinCompilationFailureException: Compilation failure
java.lang.ExceptionInInitializerError
at com.intellij.pom.java.LanguageLevel.<clinit>(LanguageLevel.java:25)
...
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @297c9a9b
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
..
[ERROR]
[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