On 5/29/07, Al Sutton <[EMAIL PROTECTED]> wrote:

Caused by: java.lang.IllegalAccessException: Class
org.apache.tiles.factory.TilesContainerFactory can not access a member of
class org.mortbay.jetty.servlet.ServletHandler$Context with modifiers
"public"


This part of the exception seems to indicate that Tiles cannot call the
method ServletContext.getInitParameterNames(). See the code below from
TilesContextFactory:

           Method method = contextClass.getMethod("getInitParameterNames");
           Enumeration<String> e = (Enumeration<String>) method
                   .invoke(context);

The "invoke(context)" call is where the IllegalAccessException is being
thrown. It sure seems like Jetty's ServletContext object should have a
getParameterNames() method on it. I can't imagine why that wouldn't work.

Reply via email to