List Info

Thread: Are el-api.jar and el-ri.jar available in a Maven repository




Are el-api.jar and el-ri.jar available in a Maven repository
user name
2006-11-25 07:46:30
I am trying to set up facelets using Maven 2. I was able to
locate
jsf-facelets-1.1.11.jar on ibiblio. However, the only place
I found the
EL jars were at https://maven-repository.dev.java.net/nonav/repository
(el-api-1.0.jar and el-impl-1.0.jar). However using these
jars gives the
following error at runtime:

    Could not instantiate
feature[compiler.ExpressionFactory]:
com.sun.el.ExpressionFactoryImpl

1) Is there a Maven repository where I can get the EL jars
distributed
with Facelets 1.1.11?

2) What is the difference between the EL jars supplied with
facelets and
the commons-el-1.0.jar supplied by Apache?

Thanks.

Naresh

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Are el-api.jar and el-ri.jar available in a Maven repository
user name
2006-11-25 08:30:18
The el-impl-1.0.jar and the el-api-1.0.jar should work for
you if their 
on the appropriate classpath.

For the second question, commons-el is an implementation of
the JSP EL 
from way back and the new EL available is the javax.el spec
which was 
introduced in JEE 5.

More here on the differences:
http://weblogs.java.net/blog/jhook/archi
ve/2006/11/el_comparisons_1.html


Naresh Bhatia wrote:
> I am trying to set up facelets using Maven 2. I was
able to locate
> jsf-facelets-1.1.11.jar on ibiblio. However, the only
place I found the
> EL jars were at https://maven-repository.dev.java.net/nonav/repository
> (el-api-1.0.jar and el-impl-1.0.jar). However using
these jars gives the
> following error at runtime:
>
>     Could not instantiate
feature[compiler.ExpressionFactory]:
> com.sun.el.ExpressionFactoryImpl
>
> 1) Is there a Maven repository where I can get the EL
jars distributed
> with Facelets 1.1.11?
>
> 2) What is the difference between the EL jars supplied
with facelets and
> the commons-el-1.0.jar supplied by Apache?
>
> Thanks.
>
> Naresh
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>
>
>   

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Are el-api.jar and el-ri.jar available in a Maven repository
user name
2006-11-25 11:43:11
Naresh Bhatia schrieb:
> I am trying to set up facelets using Maven 2. I was
able to locate
> jsf-facelets-1.1.11.jar on ibiblio. However, the only
place I found the
> EL jars were at https://maven-repository.dev.java.net/nonav/repository
> (el-api-1.0.jar and el-impl-1.0.jar). However using
these jars gives the
> following error at runtime:
> 
>     Could not instantiate
feature[compiler.ExpressionFactory]:
> com.sun.el.ExpressionFactoryImpl
> 
> 1) Is there a Maven repository where I can get the EL
jars distributed
> with Facelets 1.1.11?

I use maven2-repository of dev.java net:

https://maven2
-repository.dev.java.net

el-api and el-ri are in there.

Bye.
/lexi

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Are el-api.jar and el-ri.jar available in a Maven repository
user name
2006-11-25 16:25:21
Hi Jacob,

I basically replaced the jars from Facelets distribution
with those
obtained from the maven 1 repository directly in the
exploded
WEB-INF/lib directory in my web application. The jars from
Facelets
distribution work and those from the maven 1 repository
don't. Then
based on Aleksei's later response I tried the same app with
EL jars
obtained from the maven 2 repository and the app worked! So
I think
there is something wrong with the jars in the maven 1
repository. Here
are the lengths of the jars from the 3 sources:

el-api (Facelets and Maven2 versions are identical):
Facelets: 24,432 el-api.jar
Maven1:   29,309 el-api-1.0.jar
Maven2:   24,432 el-api-1.0.jar

el-ri:
Facelets: 97,471 el-ri.jar
Maven1:   77,188 el-impl-1.0.jar
Maven2:   99,679 el-ri-1.0.jar

I notice that commons-el-1.0.jar also exists in my
WEB-INF/lib, probably
because of an indirect dependency from my-faces. Will this
interfere in
any way with the EL jars?

BTW, thaks for the link to EL comparisons on your blog -
very
informative.

Naresh


-----Original Message-----
From: Jacob Hookom [mailto:jacobhookom.net] 
Sent: Saturday, November 25, 2006 3:30 AM
To: usersfacelets.dev.java.net
Subject: Re: Are el-api.jar and el-ri.jar available in a
Maven
repository

The el-impl-1.0.jar and the el-api-1.0.jar should work for
you if their 
on the appropriate classpath.

For the second question, commons-el is an implementation of
the JSP EL 
from way back and the new EL available is the javax.el spec
which was 
introduced in JEE 5.

More here on the differences:
http://weblogs.java.net/blog/jhook/archi
ve/2006/11/el_comparisons_1.html


Naresh Bhatia wrote:
> I am trying to set up facelets using Maven 2. I was
able to locate
> jsf-facelets-1.1.11.jar on ibiblio. However, the only
place I found
the
> EL jars were at https://maven-repository.dev.java.net/nonav/repository
> (el-api-1.0.jar and el-impl-1.0.jar). However using
these jars gives
the
> following error at runtime:
>
>     Could not instantiate
feature[compiler.ExpressionFactory]:
> com.sun.el.ExpressionFactoryImpl
>
> 1) Is there a Maven repository where I can get the EL
jars distributed
> with Facelets 1.1.11?
>
> 2) What is the difference between the EL jars supplied
with facelets
and
> the commons-el-1.0.jar supplied by Apache?
>
> Thanks.
>
> Naresh
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
> For additional commands, e-mail: users-helpfacelets.dev.java.net
>
>
>   

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

Are el-api.jar and el-ri.jar available in a Maven repository
user name
2006-11-25 16:26:06
Thanks lexi. These jars worked for me very nicely.

Naresh

-----Original Message-----
From: Aleksei Valikov [mailto:valikovgmx.net] 
Sent: Saturday, November 25, 2006 6:43 AM
To: usersfacelets.dev.java.net
Subject: Re: Are el-api.jar and el-ri.jar available in a
Maven
repository

Naresh Bhatia schrieb:
> I am trying to set up facelets using Maven 2. I was
able to locate
> jsf-facelets-1.1.11.jar on ibiblio. However, the only
place I found
the
> EL jars were at https://maven-repository.dev.java.net/nonav/repository
> (el-api-1.0.jar and el-impl-1.0.jar). However using
these jars gives
the
> following error at runtime:
> 
>     Could not instantiate
feature[compiler.ExpressionFactory]:
> com.sun.el.ExpressionFactoryImpl
> 
> 1) Is there a Maven repository where I can get the EL
jars distributed
> with Facelets 1.1.11?

I use maven2-repository of dev.java net:

https://maven2
-repository.dev.java.net

el-api and el-ri are in there.

Bye.
/lexi

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )