You need to remove the following dependencies if you're deploying on a
JSP 2.1 container:
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>com.sun.el</groupId>
<artifactId>el-ri</artifactId>
<version>1.2</version>
</dependency>
Matt
On 7/6/07, CKAYA <
[hidden email]> wrote:
>
> Hi Guys,
>
> I am having the following issue:
> Just downloaded the jsf_hibernate edition.
> But having the following error after doing mvn jetty:run
>
> java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl
> at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:154)
>
> I have also downloaded 1.8 but having the same result.
>
> JDK version : 1.5.0.12
>
> pom.xml has this:
> <dependency>
> <groupId>net.java.dev.ajax4jsf</groupId>
> <artifactId>ajax4jsf</artifactId>
> <version>1.0.6</version>
> </dependency>
> <dependency>
> <groupId>com.sun.facelets</groupId>
> <artifactId>jsf-facelets</artifactId>
> <version>1.1.11</version>
> </dependency>
> <dependency>
> <groupId>javax.el</groupId>
> <artifactId>el-api</artifactId>
> <version>1.2</version>
> </dependency>
> <dependency>
> <groupId>com.sun.el</groupId>
> <artifactId>el-ri</artifactId>
> <version>1.2</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.core</groupId>
> <artifactId>myfaces-api</artifactId>
> <version>1.1.5</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.core</groupId>
> <artifactId>myfaces-impl</artifactId>
> <version>1.1.5</version>
> </dependency>
> <dependency>
> <groupId>org.apache.myfaces.tomahawk</groupId>
> <artifactId>tomahawk</artifactId>
> <version>1.1.5</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>jsp-api</artifactId>
> <version>2.0</version>
> <scope>test</scope>
> </dependency>
>
>
> Thanks very much for your answers.
> Regards
>
> --
> View this message in context:
http://www.nabble.com/jsf_hibernate-version-1.7-or-1.8-does-not-work-tf4035695s2369.html#a11464866> Sent from the Equinox Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[hidden email]
> For additional commands, e-mail:
[hidden email]
>
>
--
http://raibledesigns.com---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]