Running "mvn -U" didn't fix the problem, but "rm -r ~/.m2/repository/*" did. ;-)
Thanks, Matt Wayne Fay wrote: > > Thanks Matt, that does it. "mvn install" was successful. And then "mvn > eclipse:eclipse" was successful too. > > [INFO] Wrote Eclipse project for "myproject-core" to > C:\cvs_root\myproject\core. > ... > [INFO] Wrote Eclipse project for "myproject-webapp" to > C:\cvs_root\myproject\web. > ... > [INFO] BUILD SUCCESSFUL > > So I have to assume you simply have some weird versions of things or > bad poms or something in your repo cache... Try -U to update > everything (??). > > Wayne > > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: >> >> You can use -Ph2 to use H2 instead of MySQL. You can also run with >> -Dmaven.test.skip=true to bypass all the connecting to the database and >> downloading of Tomcat to run Cargo/WebTest tests. >> >> Matt >> >> >> Wayne Fay wrote: >> > >> > I couldn't even get the first step to work correctly: >> > >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] Error creating from archetype >> > >> > Embedded error: Error processing templates. >> > Encountered " pageContext.request.remoteUser}\"><li> \"<c:url \" >> > class=\"current\"><fmt:mes >> > sage key=\"login.title\"/> </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> ... >> > >> > The reason is that I apparently had a less-than-latest version of >> > m-archetype-p. I updated with -U and got 1.0-alpha-7 which worked >> > successfully. >> > >> > >> > I also noticed something kinda odd -- see the WARNING below: >> > >> > Downloading: >> > >> http://repository.codehaus.org/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar >> > Downloading: >> > >> http://repo1.maven.org/maven2/aspectj/aspectjtools/1.5.2a/aspectjtools-1.5.2a.jar >> > [INFO] [aspectj:compile {execution: default}] >> > [WARNING] bad version number found in C:\Documents and >> > Settings\WFay\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt-1. >> > 5.3.jar expected 1.5.2a found 1.5.3 >> > >> > Tried to run mvn eclipse:eclipse and it "failed to resolve artifact" >> > for the myproject-core:jar. So I tried mvn install and it failed since >> > I don't have a Mysql db running right this minute. >> > >> > So maybe later this afternoon if I have a few minutes free I can see >> > about getting past that error. But I have yet to get to your problem, >> > it seems. >> > >> > Wayne >> > >> > On 9/20/07, mraible <[EMAIL PROTECTED]> wrote: >> >> >> >> Any idea what could be causing this? I get it when running "mvn >> >> eclipse:eclipse" on a modular project. I'm on OS X with JDK 5. >> >> >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] FATAL ERROR >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] org/codehaus/plexus/util/IOUtil >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Trace >> >> java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil >> >> at >> >> >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceAndJavadocArtifacts(AbstractIdeSupportMojo.java:886) >> >> at >> >> >> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:470) >> >> at >> >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >> >> at >> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >> >> >> >> To reproduce: >> >> >> >> 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes >> >> -DarchetypeArtifactId=appfuse-modular-jsf >> >> -DremoteRepositories=http://static.appfuse.org/releases >> >> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app >> -DartifactId=myproject >> >> >> >> 2. cd myproject;mvn eclipse:eclipse >> >> >> >> Matt >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12795813 >> >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> 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] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12798634 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/Issue-with-maven-eclipse-plugin-2.4%3A-java.lang.NoClassDefFoundError%3A-org-codehaus-plexus-util-IOUtil-tf4487130s177.html#a12802026 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
