It looks like this may be fixed in the 1.0.6 release. Maybe we should
just upgrade to that release?
http://mvnrepository.com/artifact/net.java.dev.ajax4jsf/ajax4jsf/1.0.6
Matt
On 2/13/07, jclagache <[EMAIL PROTECTED]> wrote:
In equinox, when i want to test my app whith jetty :
>mvn jetty:run
throws me an exception :
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] com/opensymphony/oscache/base/NeedsRefreshException
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError:
com/opensymphony/oscache/base/NeedsRefreshExcept
ion
at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.<init>(BaseFilter.ja
va:77)
at
org.ajax4jsf.framework.ajax.xmlfilter.TidyFilter.<init>(TidyFilter.ja
va:30)
at org.ajax4jsf.Filter.<init>(Filter.java:25)
...
The 1.0.2 version of ajax4jsf seems to depend on oscache but the 1.0.2
pom.xml in the maven repository
(https://maven2-repository.dev.java.net/nonav/repository) don't show this
depency :
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.ajax4jsf</groupId>
<artifactId>ajax4jsf</artifactId>
<version>1.0.2</version>
<distributionManagement>
<status>deployed</status>
</distributionManagement>
</project>
whereas the appfuse does :
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>ajax4jsf</artifactId>
<groupId>org.ajax4jsf</groupId>
<name>Ajax4jsf</name>
<version>1.0.2</version>
<dependencies>
<dependency>
<groupId>opensymphony</groupId>
<artifactId>oscache</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
</project>
solution :
delete ajax4jsf in your maven local repository and be sure to put appfuse
repository in the first position in your pom.xml :
<repositories>
<repository>
<id>appfuse</id>
<url>http://static.appfuse.org/repository</url>
</repository>
<repository>
<id>java.net</id>
<url>https://maven2-repository.dev.java.net/nonav/repository</url>
</repository>
<repository>
<id>javax.el</id>
<url>http://delo.dcs.fmph.uniba.sk/sioux/maven2</url>
</repository>
</repositories>
maybe it could be done by default in equinox pom.xml ?
--
View this message in context:
http://www.nabble.com/ajax4jsf-depencies-%28equinox-appfuse%29-tf3219608s2369.html#a8941344
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]