Hi Russel, Just a thought but it might be worth checking your classpath. T5 will pull SLF4 into the classpath anyway so you could have included it twice. Because T5 uses a separate classloader for Pages and Components it may be getting confused. I've run into similar problems before.
Cheers Toby 2008/9/25 Russell Brown <[EMAIL PROTECTED]> > Hi, > Not sure if this is totally a T5 issue but I am just seeing if anyone has > seen this. I have a page that uses the Form component but when I call the > page I get a ClassNotFoundException for org.slf4j.Logger. Now I know that > the class is on the classpath as I have Struts app running in the same > container and Calling Class.forName("org.slf4j.Logger", true, > this.getClass().getClassLoader()) in a struts action yields a class but the > toClass method in > org.apache.tapestry5.internal.services.InternalClassTransformationImpl > throws a ClassNotFoundException. > > If I change the code in that class to use the parent of the parent class > loader then the class is found. > > Any ideas? Is this a bug, is there some way to make Tapestry's class loader > aware of the Class? > > Cheers > > Russell > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >