I have written a program with the play framework 2.3.8 named quizSystem
.
It is using a memory database, some controller, viewclasses etc.
Now I want to run my program on another machine (windows 7 with JDK 8u45 installed and the PATH set to the JDK), therefore I ran activator dist
on machine 1 and got a .zip-File with a snapshot of my program. I copied this zip file to machine 2, extracted it and used the console to go to the /bin folder. In there are 2 files quizSystem
and quizSystem.bat
.
So I typed quizSystem
Error: Oops, cannot start the server ... Database 'default' needs evolution
So I tried this: quizSystem -DapplyEvolutions=true
Error: Bad application path: -DapplyEvolutions=true
So then I added the line applyEvolutions=true
into the application.conf
file.
But still, no matter which command I use I can start the program. I have searched and tried many solutions like here: Play Framework 2.1.1 Deployment Issues
Why is the evolution / my program not working?