'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.
Solution 1:[1]
I found a solution to this question on this thread. Solution is just to delete the build folder and rebuild the project
Solution 2:[2]
for me just delete the build folder and rebuild the project and it worked
Solution 3:[3]
As per below thread, I deleted the "build/.dependencies" file and it worked after resolving the dependencies again.
Solution 4:[4]
export GRAILS_OPTS="-XX:-UseSplitVerifier -Xverify:none"
Solution 5:[5]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Francis Ting |
| Solution 2 | hadi soleimani |
| Solution 3 | Champ |
| Solution 4 | Abishek G.C. |
| Solution 5 | Peter Csala |

