2018-08-28 【Spring Boot】@Valueアノテーションがうまく動かないのはorg.springframework.beans.factory.annotationの@Valueじゃないからかも。 現象 @Valueを使ってもインジェクションができない。 原因 import文を見ると、import org.springframework.beans.factory.annotationがあるか?ない場合、他の@Valueアノテーションを使っている。