0

尝试在 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.
4

1 回答 1

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> 
于 2018-11-29T20:48:54.270 回答