apache / apache/grails-intellij-plugin

Intellij IDEA 15 with grails 1/2 when do the change on controller and service runtime can not recompile

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

Hi I got this issue only in Intellij 15. 14 is working.
The error is :

- 1: $getStaticMetaClass() in com.gateway.report.LoanApplicationController cannot override $getStaticMetaClass in com.gateway.report.BaseController; attempting to assign weaker access privileges; was public

@ line -1, column -1.
1 error

Process finished with exit code 1

When I delete all the plugins sync grails and reinstall (clean) then rerun will solve the problem.

---

*Imported from [IDEA-150838](https://youtrack.jetbrains.com/issue/IDEA-150838) · Type: Bug · Votes: 0*
*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

Start by reproducing the runtime recompilation failure in IntelliJ IDEA 15 with Grails 1/2, using the controller and service changes described, and compare the behavior with IntelliJ IDEA 14. Inspect the Grails IntelliJ plugin's recompilation path; done means those changes recompile without the $getStaticMetaClass access error or a clean reinstall workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.