jdaugherty opened a new issue, #358:
URL: https://github.com/apache/grails-intellij-plugin/issues/358

   Support feedback:
   > I realized that I had the wrong version of java and grails (8 and 4) on my 
system and removed those from path/home.
   when I try to run I see "Run Configuration Error: Cannot execute <project 
path>".
   I installed 2020 1, and then tried loading the project with that.  This time 
I got further (I thought).  It now was not finding the Application.  I decided 
to rebuild the project, so I chose "Rebuild all".  It claimed that it could not 
find a groovy compiler.
   After much experimenting with "build all" I finally was able to get to the 
point (using 2020 1) where I could see the "there is no grails configured for 
your project".  I don't know what triggered this.  At that point I was able to 
add grails and it started working
   It looks like maybe I have it working, but this was a massively painful 
process.  I suggest that when the "Run/Debug configurations" dialog knows there 
is a problem, it should have a direct link added into the "reattach grails sdk 
from scratch" code.
   
   The steps to reproduce:
   
   1. Open a Grails 2 project and set up a Grails SDK.
   2. Rename that Grails SDK folder name in an external file manager
   3. Click the Grails run configuration.
   
   Actual result:
   An error " Error running 'Grails: app_name': Cannot execute: ...` shows.
   
   Expected result:
   Tell the user the Grails SDK path is incorrect and let the user reconfigure 
it.
   
   Though the IDEA would show "Configure Grails SDK" when reopening the project 
or use `Tools | Grails` can configure it too, the user may have no idea how to 
solve this problem when experiencing this issue.
   
   ---
   
   *Imported from 
[IDEA-248024](https://youtrack.jetbrains.com/issue/IDEA-248024) · Type: 
Usability Problem · Votes: 0*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to