[英]richfaces with jboss 5.1 - deploy-> ClassNotFoundException context.spi.context
我嘗試創建帶有richfaces的JSF應用程序,但是在將應用程序部署到JBoss 5.1(Java 1.6)上后立即得到ClassNotFoundException(我無法切換其他JBoss版本)
我在pom中定義了依賴項,如下所示:
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-bom</artifactId>
<version>${org.richfaces.bom.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-ui</artifactId>
</dependency>
<dependency>
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-impl</artifactId>
</dependency>
...
<properties>
<org.richfaces.bom.version>4.1.0.Final</org.richfaces.bom.version>
</properties>
任何想法? D3
Jboss 5.1支持JSF 1.2,而不支持JSF2.x。 Rich Faces 4.x構建為可在JSF 2.x上使用
您正在使用Jboss 5.1,但將依賴項定義為Rich Faces4.x。
由於您告訴您不能切換到另一個Jboss版本(我認為是更高版本),因此您必須考慮下降到RichFaces3.x。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.