apache / apache/grails-intellij-plugin
IDE does not recognize Grails 6.2.0 projects
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
**Workaround 1**: downgrade Grails version from 6.2 to e.g., 6.1.2
**Workaround 2**: downgrade the IDE version to 2021.3. You can download it [here](https://www.jetbrains.com/idea/download/other.html)
\---
## **Environment**
*OS version: Linux Mint 21.3*
Build #IU-241.15989.150, built on April 29, 2024
Linux 6.5.0-28-generic
org.intellij.grails (241.14494.158)
**Expected result** *(the result the user expects - correct result)***:**
Create a Grails 6.2.0 using CLI grails create-webapp --servlet=tomcat --jdk=17 --gorm=hibernate --test=junit com.example.demo
Open the projet with IntelliJ IDEA and import the gradle project setting the right Jdk.
**Actual result** *(the result the user sees now - faulty result)***:**
The project has been correctly imported and can be run using the Gradle task bootRun, but it is not recognized as a Grails project, so the Grails facet is not loaded. I tried closing the IDE and reopening the project, but it did not resolve the issue
---
*Imported from [IDEA-353327](https://youtrack.jetbrains.com/issue/IDEA-353327) · Type: Bug · Votes: 8*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by creating the project with the provided Grails CLI command, then import it into IntelliJ IDEA with the appropriate JDK. Compare the Grails 6.2.0 project with the 6.1.2 workaround and verify that the Grails project recognition and facet are loaded while the Gradle project remains runnable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100