the container has to implement javax.el.**

in tomcat 6, it's shipped by the jsp container

-M

On 7/26/07, Wolf Benz <[EMAIL PROTECTED]> wrote:
Doesn't facelets need this then?
Or is it covered by commons-el?
Or is commons-el an implementation of the EL-API? (which would suggest to
only keep commons-el and EL-api. But this doesn;t work, tried that already.)
I don't know what to do with all these EL libs. :-)

-Wolf


On 7/26/07, rlubke < [EMAIL PROTECTED]> wrote:
>
>
> I'd guess removing the el-api JAR from you webapp will do the trick.
>
>
> Wolf Benz-2 wrote:
> >
> > Hi all,
> >
> > I am trying to get MF & faclets to work together.
> > 1/ I followed the advice on the site, but I get this error:
> >
> > EVERE: Exception sending context initialized event to listener
> > instance of class
> > org.apache.myfaces.webapp.StartupServletContextListener
> > java.lang.LinkageError: loader constraints violated when linking
> > javax/el/ELResolver class
> >       at
> >
org.apache.myfaces.webapp.DefaultFacesInitializer.configureResolverForJS
> > P(DefaultFacesInitializer.java:158)
> >       at
org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces
> > (DefaultFacesInitializer.java :117)
> >       at
> >
org.apache.myfaces.webapp.StartupServletContextListener.contextInitializ
> > ed(StartupServletContextListener.java:57)
> >       at
org.apache.catalina.core.StandardContext.listenerStart
> > (StandardContext.java:3827)
> >       at org.apache.catalina.core.StandardContext.start
> > (StandardContext.java:4334)
> >       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > 1045)
> >       at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > 1045)
> >       at org.apache.catalina.core
.StandardEngine.start(StandardEngine.java:
> > 443)
> >       at org.apache.catalina.core.StandardService.start
> > (StandardService.java:516)
> >       at
org.apache.catalina.core.StandardServer.start(StandardServer.java
:
> > 710)
> >       at
org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >       at
sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >       at java.lang.reflect.Method.invoke(Method.java:585)
> >       at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >       at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> >
> > And also:
> > SEVERE: Exception sending context destroyed event to listener
> > instance of class
> > org.apache.myfaces.webapp.StartupServletContextListener
> > java.lang.LinkageError: Class javax/el/ELContextListener violates
> > loader constraints
> >       at java.lang.ClassLoader.defineCl ass1(Native Method)
> >       at
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> >       at java.security.SecureClassLoader.defineClass
> > (SecureClassLoader.java:124)
> >       at java.net.URLClassLoader .defineClass(URLClassLoader.java:260)
> >       at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> >       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >       at java.security.AccessController .doPrivileged(Native Method)
> >       at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >       at java.lang.ClassLoader.loadClas s(ClassLoader.java:251)
> >       at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >       at java.lang.Class.getDeclaredMethods0(Native
Method)
> >       at java.lang.Class.privateGetDeclaredMethods(
Class.java:2365)
> >       at
java.lang.Class.getDeclaredMethods(Class.java:1763)
> >       at
> >
org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvi
> > der.destroyInstance(NoInjectionAnnotationLifecycle Provider.java:91)
>
> >       at
org.apache.myfaces.webapp.AbstractMyFacesListener.doPreDestroy
> > (AbstractMyFacesListener.java:60)
> >       at
> >
org.apache.myfaces.webapp.StartupServletContextListener.doPredestroy
> > (StartupServletContextListener.java:114)
> >       at
> >
org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed
> > (StartupServletContextListener.java:95)
> >       at org.apache.catalina.core .StandardContext.listenerStop
> > (StandardContext.java:3866)
> >       at org.apache.catalina.core.StandardContext.stop
> > (StandardContext.java:4500)
> >       at org.apache.catalina.core.StandardContext.start
> > (StandardContext.java:4364)
> >       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > 1045)
> >       at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
> >       at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > 1045)
> >       at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
> > 443)
> >       at org.apache.catalina.core.StandardService.start
> > (StandardService.java:516)
> >       at
org.apache.catalina.core.StandardServer.start(StandardServer.java:
> > 710)
> >       at
org.apache.catalina.startup.Catalina.start(Catalina.java:566)
> >       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >       at
sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >       at java.lang.reflect.Method.invoke(Method.java:585)
> >       at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> >       at org.apache.catalina.startup .Bootstrap.main(Bootstrap.java:413)
> >
> >
> > In my web-lib, I have (w.r.t EL) these jars:
> > - commons-el.1.0
> > - el-api.jar (not the el-impl.jar, but this does't give a difference)
> > - jsf-facelets.jar
> > - jstl.jar
> > - myfaces-api-1.2.0 & myfaces-impl-1.2.0
> > - standard-1.1.2.jar
> >
> > --> Is there one I miss/should drop?
> > Or is this not the cause?
> >
> > 2/ Apart from this, after reading: http://wiki.apache.org/myfaces/
> > Use_Facelets_with_Tomahawk,
> > is making these tomahawk/sandbox.taglib.xml files & context params
> > still necessary?
> > Are the up-to-date files somewhere online?
> > (is this causing error in 1/)
> >
> > -Wolf
> >
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/facelets-7-MyFaces-error%3A-javax-el
-ELResolver-tf4147890.html#a11800846
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>




--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Reply via email to