NI-Lab.

nilog:

← 前の日 2021-02-27 次の日 →
← 一年前 一年後 →
Twitter (2021-02-27)
あれー

"Consider marking one of the beans as @ Primary, updating the consumer to accept multiple beans, or using @ Qualifier to identify the bean that should be consumed"

名前指定してるけどなぁ

@ Bean (name = "foo")
@ Qualifier ("foo")
@ Bean (name = "bar")
@ Qualifier ("bar")
[t] 2021-02-27 22:42:35
関連するかも情報
【話題のキーワード】
1. 今日は満月
2. ハモネプ
3. すとぷり
4. 東方新作
5. 東方虹龍洞
6. パスパレ
7. 佐々木大光
8. SHOWチャンネル
9. ほくなな
https://search.yahoo.co.jp/realtime #buzzbot
[t] 2021-02-27 22:30:53
あれー

"Consider marking one of the beans as @ Primary, updating the consumer to accept multiple beans, or using @ Qualifier to identify the bean that should be consumed"

名前指定してるけどなぁ

@ Bean (name = "foo")
@ Qualifier ("foo")
@ Bean (name = "bar")
@ Qualifier ("bar")
[t] 2021-02-27 22:42:35
@ RequiredArgsConstructor がうまくいっていないのかなと思って @ AllArgsConstructor にしてみたけどちがうぽい。

Parameter 1 of constructor in com.example.hoge.HogeController required a single bean, but 2 were found:
[t] 2021-02-27 22:44:39
そもそもコンストラクタで @ Qualifier するのが必要で Lombok だとそれを実現するために lombok.config に設定が必要なのね。

lombokで@ RequiredArgsConstructorに@ Qualifierを渡したいときのlombok.config - Qiita https://qiita.com/hrkt/items/e7c67c4d4de53bcb613b
[t] 2021-02-27 22:50:04
SocialDog から時間指定ツイートしてみるテスト
[t] 2021-02-27 23:15:05
2021年02年27日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN