LocalDate should be available in
java 17, but why maven-compiler-plugin:3.10.1 cannot recognize it?
the project is mainly from
https://spring.io/guides/gs/accessing-data-mysql/
I just change the user class to add one more property with datatype LocalDate
in my pom.xml, java is using version 17
but the error seems it is not using java 17 to compile.
the error message is
the pom is
the failed compile class is
I try to import java.time package but still fail.