Unable to run Java code with Intellij IDEA

后端 未结 12 2481
说谎
说谎 2020-12-14 05:18

I have just downloaded the IDE, and I want to edit my first Java file with it, I\'m not interested in creating a whole project, just editing the single file.

So I op

12条回答
  •  情歌与酒
    2020-12-14 05:49

    Sometimes, patience is key.

    I had the same problem with a java project with big node_modules / .m2 directories.
    The indexing was very long so I paused it and it prevented me from using Run Configurations.

    So I waited for the indexing to finish and only then I was able to run my main class.

提交回复
热议问题