Steve. thanks, for hangin in there, man. I have had that "ta da" moment each time I have started over from scratch.
Each time I re-create my project, I follow the tutorial and actually use the exact command you specified. (Discovered the "create" error in the tutorial (deprecated function) after a couple of hours....). It creates a project for me and going to the URL works great. I see the time-of-day function and clicking on refresh works great. I continue to follow the tutorial example and import the new, working project into my Eclipse. (that's when the .tml files get separated from the .java files). Going to the URL at that point reveals the index.tml page and all looks good until you click the link. Nothing works beyond that. I checked my web.xml and did have "tutorial" instead of "tutorial5", however, making the change ended up with the same error, but gave me a new branch in my directory along with two new .class files. I'm losing steam... I feel like I should not proceed to other samples, examples, if I can not get this very simple one working. I'm considering dropping this altogether and giving other paradigms a try. I've seen appFuse and echo Web but was under the impression that tapestry was more settled and would be easier to learn. I've been on this one tutorial for 3 days.... LoL... I'm a C++ programmer trying to make the switch over to Java/web and am looking for a way to avoid having to learn all the 'plumbing' required in servlet/JSP baseline programing. If you have something else you'd like me to try, I'm still game on giving it a go. Phil Steve Eynon wrote: > > Scary that the exception talks about components when it should be > looking for a page. > > What does your web.xml look like? What is your app package set to? It > should be: > > <context-param> > <!-- The only significant configuration for Tapestry 5, this > informs Tapestry > of where to look for pages, components and mixins. --> > <param-name>tapestry.app-package</param-name> > <param-value>org.apache.tapestry5.tutorial</param-value> > </context-param> > > See http://tapestry.apache.org/tapestry5.1/guide/conf.html > > Actually - if you're using maven, have you tried creating a project > from the maven archetype as mentioned on page one : > http://tapestry.apache.org/tapestry5.1/tutorial1/first.html > > To get a working app I did as follows: > >> mvn archetype:generate -DarchetypeGroupId=org.apache.tapestry >> -DarchetypeArtifactId=quickstart -DgroupId=org.apache.tapestry >> -DartifactId=tutorial1 -DpackageName=org.apache.tapestry5.tutorial > > And accepted the default settings. (Note I changed archetype:create to > archetype:generate) > >> cd tutorial1 > > Edited the pom.xml at the bottom to update the Tapestry version 5.1.0.5 > >> mvn jetty:run > > Open browser to: http://localhost:8080/tutorial1/ > > Ta daa! That should give you a working base to start from. > > Steve. > > > On 11 May 2010 16:11, aibkwik <phil.mcqui...@gmail.com> wrote: >> >> >> >> Not sure what the current T5 deal is with putting .tml files in the >> WEB-INF, but I'm certain it's not recommended. >> >> Again, as Sergey and I have suggested, place your .tml files in the >> same package as your java / class files. >> >> With your current maven setup, that would be: >> >> src/main/resources/org/apache/tapestry5/tutorial/pages >> >> Steve. >> >> >> ---------- >> >> Really embarrassing now... >> >> Forgot to mention earlier that I'd tried that already, to no avail. >> I do, however, get a different error. >> >> Here is the new file locations you suggested - >> >> http://old.nabble.com/file/p28528821/Java%2B-%2Btutorial1_src_main_java_org_apache_tapestry5_tutorial_pages_Index.java%2B-%2BEclipse%2B-%2B_Users_phil.mcquitty_Documents_personal_javacode-1.jpg >> >> ...and here is the new error - >> http://old.nabble.com/file/p28528821/Application%2BException-1.jpeg >> >> I really want to make this crazy thing work and get to a point where I >> can >> move forward. I will understand if you guys 'cry uncle'. I appreciate >> your help. >> >> Phil >> >> -- >> View this message in context: >> http://old.nabble.com/Noob-problem-with-Guessing-Game-tutorial-tp28519315p28528821.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://old.nabble.com/Noob-problem-with-Guessing-Game-tutorial-tp28519315p28531065.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org