>
> My experience on trying to run an equinox jsf-spring-hibernate 1.7 with a 1.4
> jdk.
>
> 1) Annotations
>
> >mvn jetty:run
>
> ERROR org.mortbay.log - Nested in
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
> exception parsing XML document from ServletContext resource
> [/WEB-INF/applicationContext.xml]; nested exception is
> java.lang.IllegalStateException: Unable to load class
> [org.springframework.transaction.annotation.AnnotationTransactionAttributeSource].
> Are you running on Java 1.5+?
> Root cause: java.lang.UnsupportedClassVersionError:
> org/springframework/transaction/annotation/AnnotationTransactionAttributeSource
> (Unsupported major.minorversion 49.0):
>
> I am not using Java 1.5+ and then comment the 2 lines
> <!--tx:annotation-driven/--> and <!--aop:aspectj-autoproxy/-->
>
>
> 2) Oscache
>
> see
>
http://www.nabble.com/ajax4jsf-depencies-%28equinox-appfuse%29-tf3219608s2369.html#a8971542> my previous post
>
>
> 3)el jars
>
> > mvn jetty:run
>
> go to
http://localhost:8080/myapp/mypage.html>
> com.sun.facelets.FaceletException: Could not instantiate
> feature[compiler.ExpressionFactory]: com.sun.el.ExpressionFactoryImpl
>
> in fact el-api-1.2.jar and el-ri-1.2.jar are for java 1.5.
>
> as explain in
http://forums.java.net/jive/thread.jspa?messageID=154133 this
> post , download facelets-1.0.1 and manualy put jars in your local maven
> repository.
> I choose versionning those jars as 1.0 then change the 2 dependencies in the
> pom.xml
> <dependency>
> <groupId>javax.el</groupId>
> <artifactId>el-api</artifactId>
> <version>1.0</version>
> </dependency>
> <dependency>
> <groupId>com.sun.el</groupId>
> <artifactId>el-ri</artifactId>
> <version>1.0</version>
> </dependency>
>
> Then it works !!
>
>
>
>
>
>
>
>
> --
> View this message in context:
http://www.nabble.com/is-Equinox-1.7-jdk1.4-compliant---tf3260125s2369.html#a9060621> Sent from the Equinox Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[hidden email]
> For additional commands, e-mail:
[hidden email]
>
>