1

将 maven-failsafe-plugin 从 2.18.1 更新到版本 2.22.2 后,cdi-unit (4.1.0) 测试开始失败并出现以下错误:

org.jboss.weld.exceptions.DeploymentException: WELD-001408: 
Unsatisfied dependencies for type Validator with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private com.company.test.FooBar

还尝试了 2.19.1 版本,结果相同。Maven 版本 3.6.1。Java 1.8.0_162-b12。适用于 Java 11。

4

0 回答 0