Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (run-exploded-webapp) on project alfresco-platform: Unable to find artifact. Could not find artifact org.alfresco:api-explorer:war:5.2.1-SNAPSHOT in baka (http://www.baka.sk/maven2)
- [ERROR]
- [ERROR] Try downloading the file manually from the project website.
- [ERROR]
- [ERROR] Then, install it using the command:
- [ERROR] mvn install:install-file -DgroupId=org.alfresco -DartifactId=api-explorer -Dversion=5.2.1-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file
- [ERROR]
- [ERROR] Alternatively, if you host your own repository you can deploy the file there:
- [ERROR] mvn deploy:deploy-file -DgroupId=org.alfresco -DartifactId=api-explorer -Dversion=5.2.1-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
- [ERROR]
- [ERROR]
- [ERROR] org.alfresco:api-explorer:war:5.2.1-SNAPSHOT
- [ERROR]
- [ERROR] from the specified remote repositories:
- [ERROR] baka (http://www.baka.sk/maven2, releases=true, snapshots=true),
- [ERROR] alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public, releases=true, snapshots=false),
- [ERROR] alfresco-public-snapshots (https://artifacts.alfresco.com/nexus/content/groups/public-snapshots, releases=false, snapshots=true),
- [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :alfresco-platform
- Exception in thread "Thread-14" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
- at org.apache.tomcat.maven.plugin.tomcat7.run.RunMojo$1.run(RunMojo.java:140)
- Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
- at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
- at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
- at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
- at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement