Question

How can I make play framework 1.x work with Java 8?

Play framework version 1.2.5.3

Java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Server VM (build 25.0-b70, mixed mode)

I have an error:

play.exceptions.CompilationException: java.util.stream.Collectors cannot be resolved at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompiler.java:246) at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:676) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:520) at play.classloading.ApplicationCompiler.compile(ApplicationCompiler.java:282) at play.classloading.ApplicationClasses$ApplicationClass.compile(ApplicationClasses.java:281) at play.classloading.ApplicationClassloader.detectChanges(ApplicationClassloader.java:324) at play.Play.detectChanges(Play.java:625) at play.Invoker$Invocation.init(Invoker.java:198) at Invocation.HTTP Request(Play!)

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top