Grails 3.1.4 cannot run-app
<p>I have just moved to the new Grails 3.1, and my first app in Grails worked fine. But when I created a another new Grails 3.1 app I ran into a new problem; the problem occurs when try to run using <code>run-app</code> interactively in the new application root:</p>

<pre><code>| Running application...
Error: Could not find or load main class try3grails.Application

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
&gt; Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with  non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
| Error Failed to start server (Use --stacktrace to see the full trace)
</code></pre>

<p>The class <code>try3grails.Application</code> referers to the first app's main method class I created; so the error seems to be that Grails cannot 'forget' the old app classpath. Does any one have a solution to this or is there something I missed? </p>

<p>Running <code>grails --version</code> gives:</p>

<pre><code>| Grails Version: 3.1.4
| Groovy Version: 2.4.6
| JVM Version: 1.8.0_77
</code></pre>

<p>Grails is installed using SDKMan on a ubuntu linux machine.</p>