tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton" <a.sut...@enterprisedatasafe.net>
Subject Problem with Tiles 2.0.3 and Jetty 5.1.12
Date Tue, 29 May 2007 12:53:01 GMT
Hi,
 
I'm trying to use Jetty 5.1.12 with Tiles 2.0.3 under JDK 1.5.0_11 on
Windows and keep hitting the exception below, is there anything that can be
done about this?
 
Thanks,

Al.
 
13:44:24.024 INFO   [main]
org.mortbay.util.Container.start(Container.java:74) > 15> Started
<mailto:org.mortbay.jetty.servlet.WebApplicationHandler@1292d26>
<mailto:org.mortbay.jetty.servlet.WebApplicationHandler@1292d261>
org.mortbay.jetty.servlet.WebApplicationHandler@1292d261    [main] FATAL
org.apache.tiles.listener.TilesListener  - Unable to retrieve tiles factory.
org.apache.tiles.TilesException: Unable to retrieve init parameters. Is this
context a ServletContext, PortletContext, or similar object?
        at
org.apache.tiles.factory.TilesContainerFactory.getInitParameterMap(TilesCont
ainerFactory.java:353)
        at
org.apache.tiles.factory.TilesContainerFactory.getFactory(TilesContainerFact
ory.java:144)
        at
org.apache.tiles.factory.TilesContainerFactory.getFactory(TilesContainerFact
ory.java:123)
        at
org.apache.tiles.listener.TilesListener.createContainer(TilesListener.java:8
9)
        at
org.apache.tiles.listener.TilesListener.contextInitialized(TilesListener.jav
a:58)
        at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex
t.java:495)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
        at org.mortbay.util.Container.start(Container.java:72)
        at org.mortbay.jetty.Server.main(Server.java:460)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mortbay.start.Main.invokeMain(Main.java:151)
        at org.mortbay.start.Main.start(Main.java:476)
        at org.mortbay.start.Main.main(Main.java:94)
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"
        at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.tiles.factory.TilesContainerFactory.getInitParameterMap(TilesCont
ainerFactory.java:344)
        ... 16 more


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message