I’m trying to start Play 1.2.3 in test mode using play test but I get this error:
Exception in thread "main" java.lang.IllegalArgumentException: No enum const class play.Play$Mode.TEST
at java.lang.Enum.valueOf(Enum.java:196)
at play.Play$Mode.valueOf(Play.java:35)
at play.Play.init(Play.java:236)
at play.server.Server.main(Server.java:158)
Any ideas what’s causing this?
This was an issue with a config file that was using test as an application mode. Works with
%test.application.mode=devinstead of%test.application.mode=test.