0 Replies Latest reply on May 30, 2007 8:07 AM by Jonas Erma

    problem with jstl functions

    Jonas Erma Newbie

      Hi all,

      I posted this to the Seam forum but after further investigation, I think this is the right place to ask.

      I'm using jstl's fn:length() function in several places in my application. It was working with the combination of jboss 4.0.5, ajax4jsf 1.1, facelets 1.1.12, jsf ri 1.2, and seam 1.2.1. I started getting ClassNotFoundExceptions after I upgraded to seam cvs, ajax4jsf latest snapshot, and jboss 4.2.

      The pages with fn:length() just render correctly without any errors. However, when I click on an ajaxified link or button (a:commandLink and a:commandButton) I get the following exception:

      java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.
       at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:164)
       at org.jboss.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMappe

      The exception is thrown only if ajax4jsf tries to rerender a page segment. So I don't think that it is a Seam problem alone; this must have something to do with ajax4jsf as well.

      My jsf-facelets.jar is under web-inf/lib and I can use all other facelets features without any problem, so I don't understand why jstl functions cannot be loaded. Any ideas?