tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: Tiles 2 and MyFaces example
Date Fri, 29 Jun 2007 21:26:51 GMT
You may not have run into this because you are using Struts 1 (I'm
attempting to use straight MyFaces with Tiles 2), but when the web app
starts up, I get the an exception, is there any way to prevent this?
  (*Chris*)

java.lang.NoClassDefFoundError:
org/apache/struts/tiles/DefinitionsFactoryException
  at java.lang.Class.getDeclaredConstructors0(Native Method)
  at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  at java.lang.Class.getConstructor0(Class.java:2671)
  at java.lang.Class.getConstructor(Class.java:1629)
  at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(
FacesConfigurator.java:677)
  at org.apache.myfaces.config.FacesConfigurator.configureApplication(
FacesConfigurator.java:602)
  at org.apache.myfaces.config.FacesConfigurator.configure(
FacesConfigurator.java:148)
  at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(
StartupServletContextListener.java:68)
  at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(
StartupServletContextListener.java:51)
  at com.caucho.server.webapp.Application.start(Application.java:1647)
  at com.caucho.server.deploy.DeployController.startImpl(
DeployController.java:621)
  at com.caucho.server.deploy.DeployController.restartImpl(
DeployController.java:584)
  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(
StartAutoRedeployAutoStrategy.java:176)
  at com.caucho.server.deploy.DeployController.handleAlarm(
DeployController.java:742)
  at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
  at com.caucho.util.Alarm.run(Alarm.java:309)
  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
  at java.lang.Thread.run(Thread.java:595)


On 6/29/07, Greg Reddin <gredbug@gmail.com> wrote:
>
> On 6/29/07, Ray Clough <rcclough@kamakuraco.com> wrote:
> >
> > I have an app using S2, S1, MyFaces, and Tiles.  We are using
> > Tiles-2.0.4 in all three modules, so we are not using the Struts-Tiles
> > plugins either in S1 or S2.  All pages are Tiles, even the JSF pages.
>
>
>
> Wow! That's impressive!. Thanks for sharing.
>

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