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

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.

主站蜘蛛池模板: 凤阳县| 林甸县| 安西县| 洛隆县| 永泰县| 商南县| 宝丰县| 中方县| 固始县| 兴文县| 浪卡子县| 临汾市| 九台市| 濉溪县| 望江县| 政和县| 云霄县| 石首市| 石狮市| 闸北区| 清水河县| 鹰潭市| 微山县| 敦煌市| 彝良县| 邵阳市| 远安县| 阿拉善左旗| 河北省| 巴塘县| 沅陵县| 怀仁县| 华阴市| 抚远县| 蒙自县| 台州市| 西和县| 汉川市| 新田县| 朝阳市| 横山县|