T
T
tasce2015-07-16 22:32:23
Scala
tasce, 2015-07-16 22:32:23

Why won't playframework 2.4.2 launch?

I want to run playframework 2.4.2 scala under windows 7 x64. I know it's not the best option, but still.
Created a project with > activator new.
Moved to the folder with the project > activator run
Writes:

--- (Running the application, auto-reloading is enabled) ---

[info] p.a.l.c.ActorSystemProvider - Starting application default Akka sy
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Ctrl+D to stop and go back to the console...)

I go to localhost:9000 and I get an error:
The compilation failed without reporting any problem!

sbt.compiler.CompileFailed: 
     sbt.compiler.javac.JavaCompilerAdapter.compileWithReporter(JavaCompilerAdapter.scala:35)
     sbt.compiler.javac.AnalyzingJavaCompiler$$anonfun$compile$1.apply$mcV$sp(AnalyzingJavaCompiler.scala:65)
     sbt.compiler.javac.AnalyzingJavaCompiler$$anonfun$compile$1.apply(AnalyzingJavaCompiler.scala:65)
     sbt.compiler.javac.AnalyzingJavaCompiler$$anonfun$compile$1.apply(AnalyzingJavaCompiler.scala:65)
     sbt.compiler.javac.AnalyzingJavaCompiler.timed(AnalyzingJavaCompiler.scala:93)
     sbt.compiler.javac.AnalyzingJavaCompiler.compile(AnalyzingJavaCompiler.scala:64)
     sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileJava$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:61)
     sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileJava$1$1.apply(MixedAnalyzingCompiler.scala:61)
     sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileJava$1$1.apply(MixedAnalyzingCompiler.scala:61)
     sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:75)
     sbt.compiler.MixedAnalyzingCompiler.compileJava$1(MixedAnalyzingCompiler.scala:60)
     sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:65)
     sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)
     sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)
     sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66)
     sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64)
     sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:31)
     sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:62)
     sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:61)
     sbt.inc.Incremental$.manageClassfiles(Incremental.scala:89)
     sbt.inc.Incremental$.compile(Incremental.scala:61)
     sbt.inc.IncrementalCompile$.apply(Compile.scala:54)
     sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160)
     sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)
     sbt.Compiler$.compile(Compiler.scala:128)
     sbt.Compiler$.compile(Compiler.scala:114)
     sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:814)
     sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:805)
     sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:803)
     scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
     sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
     sbt.std.Transform$$anon$4.work(System.scala:63)
     sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
     sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
     sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
     sbt.Execute.work(Execute.scala:235)
     sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
     sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
     sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
     sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
     java.util.concurrent.FutureTask.run(Unknown Source)
     java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
     java.util.concurrent.FutureTask.run(Unknown Source)
     java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     java.lang.Thread.run(Unknown Source)

java version:
> java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

> javac -version
javac 1.8.0_51

> scala -version
Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL

> scalac -version
Scala compiler version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL

How to compile and run the project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tasce, 2015-07-17
@tasce

Problem solved. The user's folder contained Russian letters because of this and crashed. I renamed the folder and everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question