试图在documentation之后在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的经验,并且没有任何关于如何解决此问题的文档,我完全搞砸了。任何人都能解释一下吗?
答案 0 :(得分:0)
这是SNAPSHOT版本的已知问题,我们正在努力修复它。 https://bugzilla.redhat.com/show_bug.cgi?id=1147929
你可以试试6.1.0.Final吗?