Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error occurred running Grails CLI: No profile found for name [web]. (Use --stacktrace to see the full trace)

I am getting this error while trying to import a grails 3.3.2 project into intellij. I have searched online solutions and not found anything helpful.

like image 307
Francis Ting Avatar asked Jan 18 '18 02:01

Francis Ting


4 Answers

I found a solution to this question on this thread. Solution is just to delete the build folder and rebuild the project

like image 106
Francis Ting Avatar answered Oct 06 '22 01:10

Francis Ting


for me just delete the build folder and rebuild the project and it worked

like image 40
hadi soleimani Avatar answered Oct 05 '22 23:10

hadi soleimani


As per below thread, I deleted the "build/.dependencies" file and it worked after resolving the dependencies again.

https://github.com/grails/grails-core/issues/10898

like image 38
Champ Avatar answered Oct 06 '22 00:10

Champ


Just delete the build folder and rebuild the project.

enter image description here

like image 26
Md. Sumon Sarder Avatar answered Oct 06 '22 00:10

Md. Sumon Sarder