当我尝试添加对json get exception的支持时:
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时修复
1条答案
按热度按时间o0lyfsai1#
尝试将此添加到pom.xml