【发布时间】:2017-09-04 18:09:25
【问题描述】:
当我尝试添加对 jersey json 的支持时出现异常:
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [InjectionManager] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 2 of [BackedAnnotatedConstructor] @Inject public org.glassfish.jersey.message.filtering.CommonScopeProvider(Configuration, InjectionManager)]
at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:403)
.....
我尝试使用 jersey-json 和 jersey-media-moxy。
当我从 pom.xml 中删除它时,一切正常。
编辑: 添加 jersey-hk2 时已修复
【问题讨论】: