make sure that all resources (including .tml files) are copied on compile. that is, if you have a resources folder with your tml files in it, you need to add that as a class folder in your eclipse project. an alternative would be to move all .tml files to the source folder (side by side with the class). Personally I think its easier to work with them side by side like that.
2007/11/6, Michael Bernagou <[EMAIL PROTECTED]>: > I copied and paste my Eclipse project from my Home computer to my work > computer. And it works at home, not at works and the error is this one : > > [ERROR] DefaultRequestExceptionHandler Processing of request failed with > uncaught exception: No root element has been defined. > java.lang.IllegalStateException: No root element has been defined. > at org.apache.tapestry.dom.Document.toMarkup(Document.java:89) > at org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup( > MarkupWriterImpl.java:51) > at > org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse > (PageResponseRendererImpl.java:49) > at > $PageResponseRenderer_116146572a8.renderPageResponse($PageResponseRenderer_116146572a8.java) > > I thought it was a problem of localization since I had only Start_fr.tml but > I added Start.tml (same for my 2 others _fr.tml pages) but I still have the > error. > > The code is exactly the same and I don't have any error in my compilation, > neither xml validation error. > > Any idea? > > -- > Michael Bernagou > Java Developper > -- /ted --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]