After doing maven clean install then running mvn install in eclipse getting this error, not sure what it is referring:
[ERROR] /Users/user1/Desktop/proj1/src/main/java/com/proj/proj1/dao/testDAO.java:[18,21] try-with-resources is not supported in -source 1.5
[ERROR] (use -source 7 or higher to enable try-with-resources)