Ok, renamed, rebuilt, redeployed. Made sure old .tml were not there and pages were .html.
Same error with html files - No root element has been defined. I really wish that that's all it was. But something else is going on. Any help appreciated. Thanks, Bob -----Original Message----- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Friday, October 05, 2007 04:10 To: Tapestry users Subject: Re: t5: no root element has been defined 5.0.5 uses *.html 5.0.6 uses *.tml Cheers, Nick. Heck, Bob wrote: > Am I really this dense? I just can't get this to work. > > Simple hello world Start.tml > Start.java in package described in web.xml > > Using Tapestry 5.0.5 > > Try my local:8080/Start and get this > > java.lang.IllegalStateException > No root element has been defined. > As a matter of fact, any Tapestry page, same error. > ======================================================== > web.xml settings > <context-param> > <param-name>tapestry.app-package</param-name> > <param-value>me.test.web.tapestry</param-value> > </context-param> > > <filter> > <filter-name>app</filter-name> > > <filter-class>org.apache.tapestry.TapestryFilter</filter-class> > </filter> > > <filter-mapping> > <filter-name>app</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > ========================================================== > Start.tml in webapp (web root) > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> > Hello world. Start. > </body> > </html> > ======================================================= > Start.java > package me.test.web.tapestry.pages; > public class Start { > public Start () > { > > } > } > ====================================================== > > What can that error mean? > java.lang.IllegalStateException > No root element has been defined.? > > Thanks > Bob Heck > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]