Ninja now uses "ninja.mode=prod" by default (and no longer dev). Many users complained that it is quite strange to configure the prod mode when running Ninja as war inside a  servlet container. These problems are now gone.