Grails Programmer: How to run a Grails 3 App with IntelliJ

This post explains how to run a Grails 3 App with IntelliJ as described in the Grails 3 IntelliJ Quickcast by Jeff Scott Brown

Using Application.groovy

It is easy to run a Grails 3 App directly from IntelliJ. Execute the main method in Application.groovy. Just click the green arrow.

![](Application_groovy_-music-___Developer_tests_music.png]

Please, make sure you turn off bytecode verification to get runtime reloading

Run with Gradle BootRun Task

You can open a Terminal within IntelliJ and run the gradle task bootRun. Reloading agent will work using the Gradle wrapper.

Run with Grails Run-app

You can execute grails run-app directly from a terminal you open within IntelliJ.

Tags: #grails #gradle #idea
Oct 2016, 28.

 

My next events:
🗓 Apr 04 16:30 JDevSummitIL Getting Started with the Micronaut Framework