Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you get an error in <strong>step 5.</strong> that looks something like this:</p> <p><code>Play server process ID is 1132</code></p> <p><code>[info] play - database [default] connected at jdbc:h2:file:db/h2/play</code></p> <p><code>[warn] play - Your production database [default] needs evolutions!</code></p> <p></p> <p><code> ... bunch of SQL statements in the console ... </code></p> <p><code>[warn] play - Run with -DapplyEvolutions.default=true if you want to run them automatically (be careful)</code></p> <p><code>Oops, cannot start the server.</code></p> <p><code>@6gme0o9k5: Database 'default' needs evolution!</code></p> <p>Then run the command like this instead:</p> <p><code>java -cp "C:\my_app\something-SNAPSHOT\lib\*" -DapplyEvolutions.default=true play.core.server.NettyServer</code></p> <p>Two additional items in the process Mikhail described tripped me up:</p> <p>First, before <strong>step 9.</strong>, make sure you terminate the <strong>start.bat</strong> script you started in <strong>step 6.</strong>. Not doing this caused the grief I posted here:</p> <p><a href="https://stackoverflow.com/questions/20819628/how-do-i-fix-server-oops-error-when-deploying-play-framework-2-0-application-as">How do I fix server Oops error when deploying Play Framework 2.0 application as a Windows service?</a></p> <p>Lastly, make sure you <strong>Run as administrator</strong> when you open your DOS command window. I could not run the <strong>installService.bat</strong> script without being administrator when I was doing my deployment.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload