I've been using STS4 on top of Eclipse and everything "just works". Been trying to move over to IDEA as that seems to be what most companies are using.
I created an empty project and imported 6 projects as Maven and 1 as Gradle.
- The maven pane is showing red squiggles on some of my dependencies, about 9 out of 50. I've tried download sources, invalidate caches, nothing seems to make the squiggles go away.
I deleted my .m2 directory and now all of them show red lol. Tried doing the download sources again and still all red.
- One of my projects uses grpc and has generated sources. Again, in Eclipse, you just update the project and they get generated. With IDEA, it seems like I have to close the whole IDE to get it to build again.
EDIT: Tried deleting my entire workspace and re-importing the maven project, still won't download the artifacts. Gave me an error: could not transfer artifact. When I open a terminal line and run mvnw install, then it starts downloading them. Doesn't seem to be able to download them through the IDE?
Any idea? no pun intended.
question from:
https://stackoverflow.com/questions/65943773/intellij-idea-newb-with-lots-of-issues 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…