0

I am developing a Java program and just wanting to compile when I ran into this odd error (included below). I am using java version "1.8.0_31" and I do not have any other version installed on my MAC.
Can anyone tell me what this error is? I tried google'ing but didn't reveal anything relevant yet. Thanks

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project inspectorBee: Compilation failure: Compilation failure:
[ERROR] /Users/vincentyau1/Development/testingbee/inspectorbee/src/main/java/io/beeCloud/inspectorBee/resources/execution/Executable.java:[9,9] default methods are not supported in -source 1.5
[ERROR] (use -source 8 or higher to enable default methods)
[ERROR] /Users/vincentyau1/Development/testingbee/inspectorbee/src/main/java/io/beeCloud/inspectorBee/service/InspectorBeeService.java:[125,68] diamond operator is not supported in -source 1.5
[ERROR] (use -source 7 or higher to enable diamond operator)
John Kugelman
  • 349,597
  • 67
  • 533
  • 578
Vince Yau
  • 515
  • 1
  • 5
  • 16

0 Answers0