Good evening! My question is odd but I could not run an existing maven project.
There is an error which IDE returns: and I have a bunch of them. I am using Intellij IDEA. Even if I run just simple mvn install I have the same issue. I googled but there is no positive result.
Error:(140, 74) java: diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)