Why is ideaIC class missing in ideaIU2021.2?
Answered
Class: JavaPsiFacade is present in ideaIC, but not in ideaIU2021.2? Do I need to bring in other packages?
Please sign in to leave a comment.
Hi,
Please always provide the full context. What is the project setup? What is Gradle build script? What is plugin.xml?
Please make sure to setup dependency on Java plugin https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html#java
An error is reported after the above operation:
plugins {
id("java")
id("org.jetbrains.intellij") version "1.5.2"
}
Hi,
As Yann mentioned, add dependency on the Java plugin. Instructions about how to do it are on the linked page.
The snippet you pasted shows Gradle plugin. On the screenshot, you confirm that you didn't add a dependency on the Java plugin. Also, you added a dependency to AppCode, which looks strange. As far as I know, AppCode doesn't provide Java support. Also, IntelliJ IDEA Ultimate is not compatible with AppCode. What are you trying to do?
Thanks karol, I have found the solution to the problem.
We would be grateful for sharing it, so if other developers struggle with the same issue in the future, they can find the solution in this topic.