3
我得到了一個可以在glassfish 4.1上工作的項目,但它在前一版本的Richfaces和glassfish上繼續使用"unable to find resource JQuery.js"
,它的工作效率達到了100%。它現在打破了我的菜單等,並有一個惱人的彈出窗口顯示錯誤。JSF Richfaces 4.5無法找到資源JQuery.js
<h:outputScript name="jquery.js"/>
或
<h:outputScript name="jquery.js" target="head"/>
不工作了,有什麼建議?
還確保核心是incl。 POM:
<dependencies>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces</artifactId>
<version>4.5.0.CR1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-core</artifactId>
<version>4.5.0.CR1</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
的依賴含:
sac-1.3
cssparser-0.9.14
guava-18.0
richfaces-4.5.0.CR1
richfaces-core-4.5.0.CR1
richfaces-a4j-4.5.0.CR1
有缺什麼?
謝謝。
很好,謝謝。 – user3523456 2014-10-07 12:19:31
有時您只需要在沒有射頻組件的頁面上使用jQuery,並且不想包含與射頻已經提供的不同版本以避免衝突。 – Roben 2014-11-14 13:05:03