官术网_书友最值得收藏!

Opening our Maven project

In order to open our just created project, follow these steps:

  1. Open IntelliJ IDEA
  2. In the Welcome window, click on the Open button
  3. Choose the directory that contains the file generated with Spring Initializr; you need to select the folder that contains the POM
  1. Click on the OK button
open window

Our project should be imported without any errors and, on the left-hand side of the screen, we should see the project files.

Sometimes IntelliJ provides suggestions with a popup dialog box at the bottom-right of the screen with tips and suggestions, check what is said as it is usually very helpful.

If we follow the installation step at the beginning of the chapter, IntelliJ should have set the JDK for this project automatically, if not we can always select on the menu File | Project Structure. Then selecting on the left-hand side of the screen Project, then we can verify which JDK we have, or change it, in the right side in the Project SDK section.

The Welcome Window provides an option to Import Project instead to Open, but there is no need to use it since IntelliJ works perfectly, opening Maven projects directly without importing.

主站蜘蛛池模板: 普兰店市| 九台市| 桦川县| 永城市| 富源县| 科技| 拜泉县| 瑞昌市| 宜春市| 辽宁省| 莒南县| 菏泽市| 临安市| 武城县| 方正县| 辽阳市| 科技| 孝昌县| 伊金霍洛旗| 阳泉市| 韶关市| 全椒县| 六盘水市| 广德县| 丰台区| 千阳县| 望都县| 衡南县| 达日县| 山西省| 青岛市| 武义县| 赤壁市| 美姑县| 玛纳斯县| 额济纳旗| 无为县| 大姚县| 丹凤县| 准格尔旗| 东港市|