当尝试在weblogic 12中安装Alfresco 5.2.4时出现以下错误。我根据alfresco文档使用所有受支持的技术堆栈。任何帮助将不胜感激。
<Nov 28, 2018 10:13:21,313 PM CST> <Error> <javax.faces> <BEA-000000> <Unable
to call @PreDestroy annotated methods because no InjectionProvider can be
found. Does this container implement the Mojarra Injection SPI?>
<Nov 28, 2018 10:13:21,313 PM CST> <Error>
<javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Critical
error during deployment:
com.sun.faces.config.ConfigurationException: Factory
'javax.faces.lifecycle.ClientWindowFactory' was not configured properly.
答案 0 :(得分:2)
我最近也遇到了类似的问题。以下变通办法应解决此错误:
取消注释/META-INF/weblogic-application.xml中的以下行
<package-name>javax.faces.*</package-name>
<package-name>javax.faces.application.*</package-name>
<package-name>javax.faces.component.*</package-name>
<package-name>javax.faces.context.*</package-name>
<package-name>javax.faces.convert.*</package-name>
<package-name>javax.faces.el.*</package-name>
<package-name>javax.faces.event.*</package-name>
<package-name>javax.faces.lifecycle.*</package-name>
<package-name>javax.faces.model.*</package-name>
<package-name>javax.faces.render.*</package-name>
<package-name>javax.faces.validator.*</package-name>
<package-name>javax.faces.webapp.*</package-name>