-
Notifications
You must be signed in to change notification settings - Fork 446
Closed
Labels
theme: integrationAn issue or change related to integration with other frameworks, shells or operating systemsAn issue or change related to integration with other frameworks, shells or operating systems
Milestone
Description
I'm getting the following warning
2024-02-02 | 10:46:54.394 | WARN | main | picocli.spring.PicocliSpringFactory |
Unable to get bean of class interface java.util.List, using fallback factory picocli.CommandLine$DefaultFactory
(org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'java.util.List': Failed to instantiate [java.util.List]:
Specified class is an interface)
my guess is it's coming from the following but I'm not exactly sure.
@Option(
names = "-topics",
required = true,
split = ",",
arity = "1..*",
description = "List of topic names")
List<String> topics;
I'm using
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli-spring-boot-starter</artifactId>
<version>4.7.5</version>
</dependency>
ding-weibing
Metadata
Metadata
Assignees
Labels
theme: integrationAn issue or change related to integration with other frameworks, shells or operating systemsAn issue or change related to integration with other frameworks, shells or operating systems