After much digging, I found the problem is that I'm using a later version of commons-digester.jar than that used in the nightly builds. By doing 'cvs log's on missing files, it looks like the commons-digester.jar used in the nightly build cannot be newer than 2001/08/04. How does the nightly build work? Does it work like Gump, where the latest digester jar is used? Is there some "known working" set of dependent jars, which Struts is guaranteed to work with? If that's the case, it would be nice if this was recorded in the build instructions, because as I've discovered, it leads to very obscure problems ;) Thanks for the reply Cedric, it got me looking down the right path. --Jeff On Mon, Sep 17, 2001 at 11:26:20AM +0200, Cedric Dumoulin wrote: > > Hi Jeff, > > Strange error. I also use the provided ant file to compile Tiles and > test them, and all seem to work fine for me. Nightly bin > distribution also use this build file. > Which page cause this error ? Is there a difference between the jar > you are producing and the original one (size, content ?). > > Checking the build log file, I have discover a bug in a tiles tag > constructor. This one is now corrected. But I don't think it is > related to the error you encountered. > > Cedric > > Jeff Turner wrote: > > > Hi, > > > > The Tiles from Struts CVS seems to be broken. I can compile it, but when > > I run the jar under Tomcat 4.0 rc2, it breaks with the error: > > > > javax.servlet.jsp.JspException: Error - Tag Insert : Can't get component >definition 'doc.mainLayout'. Check if this name exist in component definitions. > > at >org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag.java) > > at >org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java) > > at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java) > > at org.apache.jsp.index$jsp._jspService(index$jsp.java:69) > > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) > > > > The tiles war from the binary distribution works though. > > > > Here's the build log from an out-of-CVS compile: > > > > >http://newgate.socialchange.net.au/~jeff/apache/jakarta/jakarta-struts/tiles-buildlog.txt > > > > Is anyone else playing with this stuff? > > > > thanks, > > > > --Jeff
