This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes Tiles without Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles without Struts" Watch "Tiles without Struts" New topic

Tiles without Struts

Yasir Bajwa

Joined: May 02, 2007
Posts: 23

I have followed the instructions here:

I used Tomcat 6.0, and I've checked several times that I've followed the instructions and copied the correct jars, but no luck

Has anyone faced a similar problem, i've been at this for hours, any help appreciated, thanks

the error:

Parent ->
java.lang.ClassNotFoundException: org.apache.tiles.web.startup.TilesServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at com.sun.enterprise.web.WebModule.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at com.sun.enterprise.web.WebContainer.loadWebModule(
at com.sun.enterprise.web.WebContainer.loadWebModule(
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63547

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

(Technically this isn't a Struts question, both as Tiles is no longer part of Struts, and the OP states "w/o Struts" :)

It looks like you *don't* have the correct jars deployed.
Yasir Bajwa

Joined: May 02, 2007
Posts: 23
I copied these jars to WEB-INF/lib:


I downloaded tomcat 6.0.18, and eclipse 3.4.1. I added the tomcat server and created a dynamic web project.

I was able to get a generic 'hello world' application working, but it seems that the jars copied to WEB-INF/lib aren't picked up, or there is something else I messed up, but I'm not sure where to start.

Thanks for helping
David Newton

Joined: Sep 29, 2008
Posts: 12617

You need to determine if the libs are getting deployed.

If you're not operating in a portlet environment you probably don't want tiles-portlet.
jQuery in Action, 3rd edition
subject: Tiles without Struts
jQuery in Action, 3rd edition