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

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.

主站蜘蛛池模板: 沭阳县| 清镇市| 巴马| 白河县| 常熟市| 合作市| 惠州市| 康平县| 阳高县| 五家渠市| 扶余县| 兴文县| 镇江市| 容城县| 辉县市| 玛多县| 巴林左旗| 长沙县| 英山县| 谢通门县| 柘荣县| 阳朔县| 疏附县| 陆丰市| 渭南市| 沿河| 密山市| 樟树市| 玉山县| 喀喇| 中阳县| 化隆| 天台县| 梅州市| 吕梁市| 科技| 西安市| 台江县| 梓潼县| 昌邑市| 称多县|