ClassNotFoundException: org.apache.commons.io.IOUtils
-----------------------------------------------------
Key: MGWT-283
URL: http://jira.codehaus.org/browse/MGWT-283
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.2.0
Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Reporter: Maciej Oledzki
Following error appears when I try to run any goal in freshly created maven gwt
project:
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:i18n
(default) on project foo: Execution default of goal org.codehau
s.mojo:gwt-maven-plugin:2.2.0:i18n failed: A required class was missing while
executing org.codehaus.mojo:gwt-maven-plugin:2.2.0:i18n: org/a
pache/commons/io/IOUtils
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils}}
at
org.codehaus.mojo.gwt.AbstractGwtMojo.checkGwtUserVersion(AbstractGwtMojo.java:289)}}
at
org.codehaus.mojo.gwt.AbstractGwtMojo.getGwtUserJar(AbstractGwtMojo.java:251)
at org.codehaus.mojo.gwt.shell.I18NMojo.doExecute(I18NMojo.java:144)
at
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:119)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 24 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
... 29 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email