IntelliJ IDEA cannot resolve references to com.intellij.* classes
See original GitHub issueDescribe the bug:
- I pressed
use this template
button and got my initial repo. - I opened it in
IntelliJ IDEA 2022.2.3 (Community Edition)
- I added an example changelog, fixed
TODO(..)
in generated classes. - I ran
gradle build
and gotBUILD SUCCESSFUL in 19s
. - Now I want to develop something, so I opened
class MyProjectManagerListener
, butIDEA
cannot resolve any plugin-related classes.
Expected behavior:
- I can navigate across plugin related classes after building the project.
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
IntelliJ IDEA suddenly lost all class relations. Cannot resolve ...
The project builds and deploys as usual. Every class reference just gives the error "cannot resolve symbol..." and is red. Even the most...
Read more >"Cannot resolve symbol …" for all the Java classes
In the editor, in both Java and Scala file, any reference to a Java class which is part of the project is highlighted...
Read more >How to fix IntelliJ cannot resolve symbol
Invalidate and refresh the IntelliJ's caches. File Menu -> Invalidate Caches / Restart · Project SDK selection. Check project settings from File ...
Read more >IntelliJ – Cannot Resolve Spring Boot Configuration ...
IntelliJ can provide autocomplete and context help for custom properties, but we need to make some additional configuration to our project ...
Read more >Cannot Resolve Symbol (all class references are labeled as ...
Cannot Resolve Symbol (all class references are labeled as red) but SObject refs are okay. 142 views ... IntelliJ IDEA 2020.3.1 (Ultimate Edition)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue comes from the Gradle IntelliJ Plugin: https://github.com/JetBrains/gradle-intellij-plugin/issues/1209 Fixed in the
1.11.0-SNAPSHOT
snasphot release – will be released soonish.For me it is 1.10.0. After switching back to 1.9.0 it works again.