Fixed the issue of running the application from within IntelliJ.