I just used the archetype to create a new project on Mac OS X Leopard
and I ran the gwt:gwt goal right after creating it. I got the
following error:
zeus:test arthur$ mvn gwt:gwt
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'gwt'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building gwt-maven-archetype-project
[INFO] task-segment: [gwt:gwt]
[INFO] ----------------------------------------------------------------------------
[INFO] Preparing gwt:gwt
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'com.google.gwt:gwt-servlet:pom:1.5.2:runtime' is
invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to /Users/arthur/Tmp/test/target/classes
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.6:runtime'
is invalid. It will be ignored for artifact resolution. Reason: Not a
v4.0.0 POM.
[INFO] [dependency:unpack {execution: unpack}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/codehaus/plexus/util/StringUtils
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/StringUtils
at org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem.toString(ArtifactItem.java:236)
at org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:129)
at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.getProcessedArtifactItems(UnpackMojo.java:138)
at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:88)
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.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Oct 21 20:51:53 EDT 2008
[INFO] Final Memory: 13M/27M
[INFO] ------------------------------------------------------------------------
Any ideas why this might be? Thank you in advance.
Regards,
--
Arthur Kalmenson
--
Arthur Kalmenson