I am new to IntelliJ Community edition. Can anyone help me with creating spring boot project in intelliJ Community edition. For ultimate edition there is spring-boot initializer but I cannot find anything for community edition. I followed this links but cannot find any solutions
4 Answers
You can install a plugin called Spring Assistant:
Now you can use the initializer as:
Personally, however, I use Spring initializer at start.spring.io
EDIT: Adding run configuration
Select Edit Configuration from the Run menu
Now in the dialog box, lick on the + button and select Application.
Now you just need to provide the name of the main class. You could click on the browse button(...) to get a list of files having main(...).

If you have done your spring project with SPRING IO
Then You can import it as maven project and follow this steps to import spring project
Open IntelliJ IDEA
You can see Welcome screen, click Import Project. The Select File
Navigate to your Maven project and select
Click OK.
Pretty simple, as both link you attached say you created your project with Spring Initializr, and if it is a maven project, then follow these steps mentioned below:
- click on File option
- click Open option
- navigate to your project and choose pom.xml file [it not a maven project, choose your configuration.xml file, if something else, just select the project folder]
- press Ok. And you are done
- now, open idea terminal and run mvn clean install(I assume you have installed maven) or, just select project->right click->choose maven-> click on Reimport maven option. Now run mvn clean build All are set now.
Extending @Prashant's answer
If you are not able to find Spring Assistant plugin within IntelliJ Community Edition, Go to Plugin's website and then click on GET button, Choose Compatibility with IntelliJ IDEA Community and then click Download.
The rest of the procedure remains the same as described by @Prashant.
Also if you want to change your Port, then select Modify Options and select Add VM Options, and paste
-Dserver.port=8090
in that VM Options textbox and then run the application.

