Thank you a lot for the response....
However, I'm still having the same error... Now, I do the following steps: - mvn clean install - mvn eclipse:clean eclipse:eclipse - mvn tomcat:run (or jetty:run) And the problem lingers on... Still hearing solutions... Ariel Olle Hallin wrote: > > Hi, > > Try this: > mvn clean install jetty:run > > This should solve your problem. > > For the eclipse part, mvn eclipse:clean eclipse:eclipse should do the > trick. > > (Or preferably, use the m2eclipse plugin from within Eclipse). > > Oh, and another thing: of the steps > 1 mvn clean install > 2 mvn war:war > 3 mvn package > 4 mvn eclipse:eclipse > 5 mvn tomcat:run (or mvn jetty:run) > > only step 1 and 5 (and optionally step 4) are necessary. > > The install phase implies package, which for a web app is a synonym to > war:war. > > It could even be shortened to mvn clean jetty:run. > > Step 4 is only necessary when you have modified pom.xml > > HTH, > Olle > > > > > > 2008/12/1 gringoac <[EMAIL PROTECTED]> > >> >> >> I'm using Eclipse. However, I'm trying to run the project without >> Eclipse, >> only from console... >> >> I do this steps: >> >> - mvn clean install >> - mvn war:war >> - mvn package >> - mvn eclipse:eclipse >> - mvn tomcat:run (or mvn jetty:run) >> >> Then, going to "localhost:8080/trunk" in my browser, and get the "Index >> did >> not generate any markup when rendered..." >> >> If I go to Eclipse and hit MyProject->Run On Server, it opens the browser >> and get the same error. >> >> If I do project->clean from Eclipse, and then "mvn tomcat:run" again or >> "Run >> on Server" from Eclipse, both of them works fine. >> >> Does anybody know how to solve this problem without using Eclipse... only >> from Maven and the console (cmd)? Do I need to restore the project's >> build >> path (if it was wipe in the mvn clean as you said)? How Can i Do that >> from >> console, pom.xml or any place like that? >> >> Thanks a lot, >> >> Ariel >> >> >> >> >> Thiago H. de Paula Figueiredo wrote: >> > >> > Em Mon, 01 Dec 2008 11:12:15 -0300, gringoac <[EMAIL PROTECTED]> >> > escreveu: >> > >> >> Hi guys... I really need to solve the same problem urgently... >> >> How can I restore my project's build path from Maven? Can I do it from >> >> the pom.xml or from anywhere else? >> > >> > Try mvn eclipse:eclipse and then refresh your project. >> > >> > -- >> > Thiago H. de Paula Figueiredo >> > Independent Java consultant, developer, and instructor >> > http://www.arsmachina.com.br/thiago >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/-T5--Strange-problems-using-jetty%3Arun-tp20067500p20773278.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Olle Hallin > Senior Java Developer and Architect > [EMAIL PROTECTED] > www.crisp.se > > -- View this message in context: http://www.nabble.com/-T5--Strange-problems-using-jetty%3Arun-tp20067500p20789479.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
