Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
123 views
in Technique[技术] by (71.8m points)

IntelliJ IDEA newb with lots of issues

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.

  1. 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.

  1. 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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...