Antonio, thanks for your answer. I'm using Tiles 2.1.4, and the log was
indeed set to debug. I changed it to warn and now the exception isn't
visible. I'm still getting some warnings while starting tomcat:

WARN  org.apache.tiles.context.ChainedTilesApplicationContextFactory  -
Cannot find TilesContextFactory class
org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory

It's not a big deal, but imho it should not be printed as a warning since
I'm purposely not using portlets.

Cheers,
Ricardo

-----Original Message-----
From: Antonio Petrelli [mailto:[email protected]] 
Sent: Monday, January 25, 2010 12:40 PM
To: [email protected]
Subject: Re: Tiles 2.1, Struts 2 and Tomcat 6 - Portlet exception

2010/1/25 Ricardo Zuasti <[email protected]>:
> Hi, I'm trying to use Tiles 2.1 in a web app deployed in a Tomcat 6.0
> environment.
>
> Everything is working just fine, but I keep getting an exception during
> tomcats startup:
>
>
>
> java.lang.ClassNotFoundException:
> org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory
>
>        at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1360)
>
>        at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1206)
>
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>
>        at java.lang.Class.forName0(Native Method)
>
>        at java.lang.Class.forName(Class.java:247)
>
>        at org.apache.tiles.reflect.ClassUtil.getClass(ClassUtil.java:60)
>
>        at
>
org.apache.tiles.context.ChainedTilesApplicationContextFactory.init(ChainedT
> ilesApplicationContextFactory.java:98)


Either you are using Tiles 2.0.x prior to 2.0.5, or you set DEBUG
level to Tiles classes logging.
Here is the related issue:
http://issues.apache.org/struts/browse/TILES-180

Antonio

Reply via email to