0
0

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 3 years have passed since last update.

build.gradle変更後Gradle プロジェクトのリフレッシュが必要だった件

Last updated at Posted at 2020-11-23

Spring Bootで@Sizeアノテーション(javax.validation)が使用できなかったので。
色々と調べた結果、build.gradleに依存性を注入すれば良いと書いてあり、試したが、インポートができなかった。そこで、プロジェクトを右クリックし、GraldeメニューからGradleプロジェクトのリフレッシュを実行したら@Sizeアノテーションがインポートできました。

参考
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.3-Release-Notes#validation-starter-no-longer-included-in-web-starters

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?