【发布时间】:2014-12-01 20:21:50
【问题描述】:
我有一个项目要在 glassfish 4.1 上工作,但它在以前版本的 Richfaces 和 glassfish 上不断提出"unable to find resource JQuery.js",它的工作率为 100%。它现在破坏了我的菜单等,并有一个恼人的弹出窗口显示错误。
<h:outputScript name="jquery.js"/>
或
<h:outputScript name="jquery.js" target="head"/>
现在不行了,有什么建议吗?
还要确保核心包含在内。 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
有什么遗漏吗?
谢谢。
【问题讨论】: