Intellij Spring Initializr 不可用

我正在使用 Intellij IDE 编写 spring Boot 代码。

new project选项中,SpringInitializr 不可用,如下所示。

Http://blog.jetbrains.com/idea/2015/03/develop-spring-boot-applications-more-productively-with-intellij-idea-14-1/

下面您可以找到我的 IDE 的屏幕截图。请让我知道我在这里错过了什么?

enter image description here

138646 次浏览

Please verify "Spring Boot" plugin is enabled.

In File > Settings > Plugins, you will probably find the Plugin unselected:

Spring Boot Plugin still unselected

(The above a screenshot of Intellij IDEA 2018.1 Ultimate)

Although the asker here used IntelliJ Ultimate here, I'd like to point out that the Spring Initializer is only available in the ultimate edition, not in the community edition. If you are using the community version, there is no way to enable the Spring plugin here.

If you only have IntelliJ IDEA CE then you can still create Spring Boot applications. First generate your project directory using https://start.spring.io and then import into IntelliJ IDEA and off you go.

I know this post is old, but this might help someone.

Spring Assistant is a plugin available for IntelliJ IDEA CE which has a spring framework integration for creating Spring Boot Projects.

https://plugins.jetbrains.com/plugin/10229-spring-assistant

Here is how it looks in IDEA IntelliJ editor

enter image description here

In Intellij Go To

File > Settings > Plugins,

Search "Spring" And Check All plugin Started With Spring Then Restart intellij

Adding screenshot from latest 2019.2 IDEA Ultimate Edition:

  • Go to File -> Settings -> Plugins
  • search for spring boot under Installed plugins list
  • Press the Enable button
  • Restart IDE

enter image description here

I am using IntelliJ IDEA 2019.3 CE and I don't see Spring or Spring Boot options in plugin. Spring Assistant plugin is available but it's not fully featured like native plugins.

  • For example application.properties auto completion will not work. There is no styling. All is grayed out.
  • In Facets, there is no option to choose Spring to mark it Spring Boot.

I download spring boot project from start.spring.io and use it in IntelliJ IDEA 2019.3 CE with limited features. I think all nice to have features of Spring/Spring Boot are now only part of IntelliJ IDEA Ultimate edition. See comparison.

Spring Assistant plugin can help to generate new app as a start without leaving IntelliJ IDEA CE which is good.

Though the user asked about the ultimate version its good to know that community version provides a plugin called Spring Assistant plugin which guides to a spring boot project.

File-> Settings -> Spring Assistant
Then restart the IDE Then,
File-> New -> Project -> Spring Assistant

I know this is a late entry, but I'm hoping it might help somebody. I have IntelliJ Ultimate and had all of the Spring plugins enabled after installing the application. When I tried to create a Spring Boot project, Spring Initializer was not in my list of options just like the OP's problem.

I didn't find a solution here so I went to File -> Settings -> Plugins and tried disabling my Spring Boot plugin and restarting. Then I re-enabled Spring Boot and restarted and voila I now have the Spring Initializer available in the New Project Wizard.

In intellij idea navigate to the File-> Settings. In the Plugins section search for Spring Assistant. Then install the Spring Assistant plugin. enter image description here

Then restart the intellij idea and create the spring boot application.

Now Intilij Community edition is supporting the spring initilizer by plugin Spring Assistant. Install Spring Assistant in plugin section. This plugin will help you to call spring initializer for project creation.

enter image description here

to Install Spring Assistant go to plugin and search Spring select "Spring Assistant" enter image description here

If you don't see the spring plugins available in the list, make sure to click on marketplace at the top center. By default, you see the installed plugins only.

Go to File -> Setting -> Plugins -> https://i.stack.imgur.com/aGYpE.png Here Displaying MarketPlace And Installed, -> click on installed search for spring assistant https://i.stack.imgur.com/FF4xd.png click on checkbox and click on ok-> intellij automatically ask restart the ide. Click on restart. After this spring assistant display while creating spring boot application

For Mac OS - Intellij - Refer below Navigation to add Plugins :

Intelij IDEA>>Preference>>Plugins>>Search Spring & install Spring tool & Assistance

As of April 2022, the name of plugin is Spring Initializr and Assistant (works for IntelliJ IDEA 2021.3.1 Community Edition)

Settings > Plugin > Spring Boot helper

Install this plugin and use it for 1 month trail.(This seems to be the working option as I tried)

[Plugin - Spring Boot Helper]]1