Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. [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)
  2. [ERROR]
  3. [ERROR] Try downloading the file manually from the project website.
  4. [ERROR]
  5. [ERROR] Then, install it using the command:
  6. [ERROR] mvn install:install-file -DgroupId=org.alfresco -DartifactId=api-explorer -Dversion=5.2.1-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file
  7. [ERROR]
  8. [ERROR] Alternatively, if you host your own repository you can deploy the file there:
  9. [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]
  10. [ERROR]
  11. [ERROR]
  12. [ERROR] org.alfresco:api-explorer:war:5.2.1-SNAPSHOT
  13. [ERROR]
  14. [ERROR] from the specified remote repositories:
  15. [ERROR] baka (http://www.baka.sk/maven2, releases=true, snapshots=true),
  16. [ERROR] alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public, releases=true, snapshots=false),
  17. [ERROR] alfresco-public-snapshots (https://artifacts.alfresco.com/nexus/content/groups/public-snapshots, releases=false, snapshots=true),
  18. [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
  19. [ERROR] -> [Help 1]
  20. [ERROR]
  21. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  22. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  23. [ERROR]
  24. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  25. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  26. [ERROR]
  27. [ERROR] After correcting the problems, you can resume the build with the command
  28. [ERROR] mvn <goals> -rf :alfresco-platform
  29. Exception in thread "Thread-14" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
  30. at org.apache.tomcat.maven.plugin.tomcat7.run.RunMojo$1.run(RunMojo.java:140)
  31. Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
  32. at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
  33. at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
  34. at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
  35. at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement