0

尝试按照文档在 WebSphere 8.0.0.4 上部署 KIE-WB 发行版,尝试了 6.1.0 并发现 kie-wb-distribution-wars-6.2.0-20141001.091451-145-was8.war 错误较少,但是我是卡在这个错误

javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.kie.uberfire.social.activities.service.SocialAdapterRepositoryAPI] is not found with the qualifiers 
Qualifiers: [@javax.enterprise.inject.Default()]for injection into 
 Field Injection Point, field :  org.kie.uberfire.social.activities.service.SocialAdapterRepositoryAPI org.kie.uberfire.social.activities.server.SocialActivitiesEventObserver.socialAdapterRepository, Bean Owner : [1850105111,Name:null,WebBeans Type:MANAGED,API Types:[org.kie.uberfire.social.activities.server.SocialActivitiesEventObserver,java.lang.Object],Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
 InjectionType   :  [interface org.kie.uberfire.social.activities.service.SocialAdapterRepositoryAPI]
 Annotated       :  [Annotated Field,Base Type : interface org.kie.uberfire.social.activities.service.SocialAdapterRepositoryAPI,Type Closures : [interface org.kie.uberfire.social.activities.service.SocialAdapterRepositoryAPI, class java.lang.Object],Annotations : [@javax.inject.Inject()],Java Member Name : socialAdapterRepository]
 Qualifiers      :  [[@javax.enterprise.inject.Default()]]
at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)
at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:96)
at org.apache.webbeans.container.InjectionResolver.getInjectionPointBean(InjectionResolver.java:256)
at org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:100)

由于我没有使用 uberfire 社交 API 的经验,也没有任何关于如何解决此问题的文档,我完全被搞砸了。任何人都可以解释一下吗?

4

1 回答 1

0

这是 SNAPSHOT 版本中的一个已知问题,我们正在努力修复它。 https://bugzilla.redhat.com/show_bug.cgi?id=1147929

你可以试试 6.1.0.Final 吗?

于 2014-10-02T23:54:32.917 回答