我正在尝试在Visual Studio Code中使用Kotlin。我刚刚选择了环境路径,但每次尝试运行程序时都会收到以下警告:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
如果我尝试运行
--illegal-access=deny
我遇到了以下错误:
error: unresolved reference: illegal
--illegal-access=deny
^
error: variable expected
--illegal-access=deny
^
error: unresolved reference: access
--illegal-access=deny
^
error: unresolved reference: deny
--illegal-access=deny
我是个初学者,那么我该如何解决这个问题呢? 感谢每一个回答!