2014-04-16 44 views
1

我試圖修復Liferay 6.1日誌(部署在WAS 8上)中MissingResourceImpl錯誤的數量。我的portlet使用Mojarra JSF 2.1.x,並且還依賴Tomahawk獲取許多標籤。Liferay Faces ResourceHandler MissingResourceImpl錯誤

SystemOut  O 2014-04-13 08:48:39,166 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[inputText.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,174 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[selectOneRadio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,184 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,191 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[radio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,199 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,206 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[radio.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,215 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[div.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
SystemOut  O 2014-04-13 08:48:39,226 [WebContainer : 50] ERROR com.liferay.faces.bridge.application.MissingResourceImpl - Resource handler=[[email protected]763d8a] was unable to create a resource for resourceName=[inputText.xhtml] libraryName=[org.apache.myfaces.custom] contentType=[null] 
... 

在我的pom.xml

<dependency> 
    <groupId>org.glassfish</groupId> 
    <artifactId>javax.faces</artifactId> 
    <version>2.1.23</version> 
    <scope>provided</scope> 
</dependency> 
... 
<dependency> 
    <groupId>com.liferay.faces</groupId> 
    <artifactId>liferay-faces-bridge-impl</artifactId> 
    <version>3.1.2-ga3</version> 
    <exclusions> 
    <exclusion> 
     <groupId>com.sun.faces</groupId> 
     <artifactId>jsf-impl</artifactId> 
    </exclusion> 
    <exclusion> 
     <groupId>com.sun.faces</groupId> 
     <artifactId>jsf-api</artifactId> 
    </exclusion> 
    </exclusions> 
</dependency> 
<dependency> 
    <groupId>com.liferay.faces</groupId> 
    <artifactId>liferay-faces-portal</artifactId> 
    <version>3.1.2-ga3</version> 
    <exclusions> 
    <exclusion> 
     <groupId>com.sun.faces</groupId> 
     <artifactId>jsf-impl</artifactId> 
    </exclusion> 
    <exclusion> 
     <groupId>com.sun.faces</groupId> 
     <artifactId>jsf-api</artifactId> 
    </exclusion> 
    </exclusions> 
</dependency> 
... 
<dependency> 
    <groupId>org.apache.myfaces.tomahawk</groupId> 
    <artifactId>tomahawk20</artifactId> 
    <version>1.1.10</version> 
</dependency> 

我嘗試了很多,找到根本原因並修復這些錯誤,但至今沒有運氣。任何幫助/方向將不勝感激!

提前致謝!

回答