So I am trying to run java rest api on IntelliJ but I have the exception from the title of this question:
Error:(42, 70) java: underscores in literals are not supported in -source 1.6 (use -source 7 or higher to enable underscores in literals)
I am using java 13 and it is on mac.
How can I fix that?