Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

grails project does not appear to be part of a Grails application

Tags:

grails-2.0

After migrating from my old Macbook Pro to my new one, I find that my project will no longer run. Grails keeps giving me a "Error /Users/Michael/{proj}/{proj} does not appear to be part of a Grails application". Refresh dependencies does seem to run successfully.

I have verified the following:

  • there exists a folder grails-app in the project folder at the same location as on the old machine.
  • I did run a grails clean followed by a grails upgrade to 2.0.4

The one thing it could be is that the user directory name has changed between the two machines, but I do not see the old user directory name in either .project or application.properties or in any settings.

like image 723
Mike T Avatar asked Nov 19 '25 01:11

Mike T


1 Answers

I solved this by deleting workspace\.metadata\.plugins\org.eclipse.debug.core\.launches\<project>.launch. It had cached the old absolute path.

like image 163
noelbk Avatar answered Nov 21 '25 10:11

noelbk