将 Spring 与 IntelliJ 集成

2022-01-20 00:00:00 ide intellij-idea spring java

我已经下载并安装了 Spring 工具包.现在,当我尝试在 IntelliJ 中创建一个新项目时,它不会在库中显示 Spring ..我怎样才能在那里获得春天?

I have downloaded the Spring toolsuite, and installed. Now when I try to create a new project in IntelliJ it doesn't show Spring in Libraries.. How can I get Spring in there?

提前致谢!

推荐答案

SpringSource Tool Suite 什么都没有与 IntelliJ Idea 相关,实际上它是一个不同的 IDE(它是一个专门的 Eclipse 发行版).

The SpringSource Tool Suite has nothing to do with IntelliJ Idea, in fact it is a different IDE (it's a specialized Eclipse distribution).

因此,尽管下载 Spring 框架 确实有意义(虽然最好通过像Maven这样的构建工具访问它),但使用起来没有意义Springsource Tool Suite 和 IntelliJ Idea.它是一个或另一个(并且都很好地支持 Spring).

So while it does make sense to download the Spring framework (although it's better to access it through a build tool like Maven), it does not make sense to use both Springsource Tool Suite and IntelliJ Idea. It's one or the other (and both support Spring perfectly well).

相关文章