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