I am getting this error while running my springboot application.
Unable to make private java.time.LocalDateTime(java.time.LocalDate,java.time.LocalTime) accessible: module java.base does not "opens java.time" to unnamed module
I have tried adding --add-opens java.base/java.time=ALL-UNNAMED
in default VM arguments but it doesn't worked. Please help me with the solution.