Reputation: 879
I created a project from command line and have eight errors. I had previously done so from within Eclipse, had this error, so thought I would try it from outside just to be sure I wasn't doing something odd. Anyway, absolutely nothing done to the project except creating it. From the command line the project builds fine and runs fine, not that there is anything to test.
Environment:
Linux Mint 17
java version "1.8.0_05" 64-bit
Groovy Version: 2.3.3
Grails version: 2.4.1
I have installed the 2.3 compiler feature installed in Kepler. The java 8 libraries are installed, though the compiler level is set to 7. Grails version is as above. The Groovy compiler is likewise set to 2.3.
Searching has failed to turn up possible causes. I did find that the java compiler level was set to 1.4 after originally importing, but corrected that. What should I look at next?
Upvotes: 0
Views: 2779
Reputation: 3957
Try using a version of GGTS / Greclipse that has Java 8 support. I recommend you use GGTS 3.6.0 based on Eclipse 4.4 if you want decent Java 8 support.
The error you are getting is most likely something to do with the Java compiler not understanding about default methods in interfaces (this is a Java 8 feature).
GGTS 3.6.0 is on the verge of being released but until then you can get a snapshot from here: http://dist.springsource.com/snapshot/STS/nightly-distributions.html
Upvotes: 1