Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PlayFramework ~run strange error

Am using Play 2.1.0, Everything was fine all of a sudden I get this strange error (Attached snapshot) this is during when i execute ~run from play console.

Environment : Windows 7, IntelliJ12, Mysql, JDK 1.6

Snapshot :

enter image description here

Error statement: 'is not a directory so descendants can not be called'

like image 722
Suave Nti Avatar asked Feb 18 '13 12:02

Suave Nti


Video Answer


2 Answers

The problem occurs if another process has locked /logs/application.log. E.g. if you open the log file in Word and then run play, you will see the error

like image 177
Rob Hoff Avatar answered Sep 22 '22 04:09

Rob Hoff


Quit your console or whatever you are using to start your application. Delete application.log file. Go to your console screen again. Finally retype run and hit enter.

This file will be regenerated and error will be gone.

like image 27
Sinan Keskin Avatar answered Sep 19 '22 04:09

Sinan Keskin