5.0.5 templates have a .html suffix 5.0.6 needs templates with .tml suffix
"Heck, Bob" <[EMAIL PROTECTED]> 05.10.2007 11:03 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An <users@tapestry.apache.org> Kopie Thema t5: no root element has been defined 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