If you're using a modular project, you need to do this from the "web" directory.
Matt On 9/27/07, James Perry <[EMAIL PROTECTED]> wrote: > Thank you for the reply. > > It still has a build error: > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin > 'org.apache.maven.plugins:maven-jetty-plugin ' does not > exist or no valid version could be found > > I noticed that in your pom file that you do not have the plugin? > > > On 9/26/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > On 9/26/07, James Perry < [EMAIL PROTECTED]> wrote: > > > I have tried to build a quickstart project for both single and modular > > > spring-mvc project but there is a build error. Here is the stack trace: > > > > > > [INFO] ------------------------------ > > > ------------------------------------------ > > > [ERROR] BUILD ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Error creating from archetype > > > > > > Embedded error: Error processing templates. > > > Encountered " pageContext.request.remoteUser}\"><li><a href=\"<c:url > > > value=\"/login.jsp\"/>\" class=\"current\"><fmt:message > > > key=\"login.title\"/></a></li></c:if>\r\n <menu:displayMenu > > > name=\"MainMenu\"/>\r\n <menu:displayMenu name=\"UserMenu\"/>\r\n > > > <menu:displayMenu name=\"AdminMenu\"/>\r\n <menu:displayMenu > > > name=\"Logout\"/>\r\n</ul>\r\n</menu:useMenuDisplayer>" > at > > > line 6, column 24. > > > Was expecting one of: > > > "}" ... > > > <DOT> ... > > > > > > Here is the output from mvn --version: > > > > > > Maven version: 2.0.7 > > > Java version: 1.5.0_07 > > > OS name: "mac os x" version: "10.4.10" arch: "i386" > > > > > > What is wrong? > > > > You have an old version of the archetype plugin. Try running "mvn -U". > > > > Matt > > > > > > > > > > > -- > > http://raibledesigns.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
