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