question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IntelliJ IDEA cannot resolve references to com.intellij.* classes

See original GitHub issue

Describe the bug:

  1. I pressed use this template button and got my initial repo.
  2. I opened it in IntelliJ IDEA 2022.2.3 (Community Edition)
  3. I added an example changelog, fixed TODO(..) in generated classes.
  4. I ran gradle build and got BUILD SUCCESSFUL in 19s.
  5. Now I want to develop something, so I opened class MyProjectManagerListener, but IDEA cannot resolve any plugin-related classes.

image

Expected behavior:

  1. I can navigate across plugin related classes after building the project.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hszcommented, Dec 5, 2022

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.

1reaction
Konafetscommented, Nov 30, 2022

For me it is 1.10.0. After switching back to 1.9.0 it works again.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found