1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IntellijでSpring Bootをセットアップ

Posted at

Spring Bootのセットアップ

基本的な設定だけを

GUIで設定する。

1.Spring Initializrを選ぶ。

Initializr Service URLはDefaultでいい。
NEXTボタンを押す。
New Project_029.png

2.Project MetaDataではArtifact欄のみ編集でよい。

Artifactは大文字が混じっていると受け付けてくれない。
パッケージ名(Group)は変更したければ変更すれば良い。
New Project_030.png

3.Dependenciesを選択。

インストールしたいパッケージを選択する。
Spring Bootアプリケーションで定番なのは、

  1. web
  2. h2(SQL)
  3. jpa
  4. validation
  5. thymeleaf

あたり。
あとでpom.xmlを編集して追加できるので、神経質に吟味しなくても良い。

New Project_031.png

4.プロジェクトフォルダを選択。

今回はドロップボックス以下に置く。
New Project_032.png

終了。

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?