PlayFramework ~ run weird bug

Am, using Play 2.1.0, everything was fine, I get this strange error (attached snapshot), this happens during ~run execution from the game console.

Environment: Windows 7, IntelliJ12, Mysql, JDK 1.6

Snapshot:

enter image description here

Error: "is not a directory, therefore descendants cannot be called"

+6
source share
4 answers

The problem occurs if another process is blocked by /logs/application.log . For instance. if you open the log file in Word and then start playback, you will see an error message

+12
source

Close the console or whatever you use to start the application. Delete the application.log file. Go to the console screen again. Finally, restart the launch and press enter.

This file will be restored and the error will disappear.

+2
source

It seems like another game! the application runs in the same port, for windows you can terminate the application and start it again.

  • open console (windows + r)
  • netstat -ano
  • find which pid uses port "9000"
  • taskkill / PID / f (enter your PID)
+1
source

Another solution is to remove all java.exe applications from the task manager. Because one of them blocked the file "/logs/application.log". After that, you can delete the file "/logs/application.log", and when you start the project, it is automatically generated automatically.

0
source

All Articles