Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. ugmate-api git:(feature/WM-89_push_files_to_device) AUGMATE_ENVIRONMENT=localhost ./gradlew run
  2. > Loading
  3. :api-sdk:compileJava
  4. warning: [options] bootstrap class path not set in conjunction with -source 1.7
  5. 1 warning
  6. :api-sdk:processResources UP-TO-DATE
  7. :api-sdk:classes
  8. :api-sdk:jar
  9. :compileJava
  10. Note: Some input files use or override a deprecated API.
  11. Note: Recompile with -Xlint:deprecation for details.
  12. Note: Some input files use unchecked or unsafe operations.
  13. Note: Recompile with -Xlint:unchecked for details.
  14. :processResources
  15. :classes
  16. :run
  17. INFO [#] [p= v=] org.eclipse.jetty.util.log > Logging initialized @2247ms
  18. DEBUG [#] [p= v=] com.augmate.api.bundles.MigrateOnStartupBundle > Waiting for Database..
  19. INFO [#] [p= v=] com.augmate.api.bundles.MigrateOnStartupBundle > Running migrations..
  20. INFO [#] [p= v=] org.flywaydb.core.internal.dbsupport.DbSupportFactory > Database: jdbc:mysql://localhost:3306/api?rewriteBatchedStatements=true (MySQL 5.6)
  21. Exception in thread "main" org.flywaydb.core.api.FlywayException: Found more than one migration with version '0080' (Offenders: SQL '/Users/jackmurphy/projects/augmate/augmate-api/build/resources/main/db/migration/V0080__create_and_multitenant_files_tables.sql' and SQL '/Users/jackmurphy/projects/augmate/augmate-api/build/resources/main/db/migration/V0080__add_eap_to_wifis_table.sql')
  22. at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.checkForIncompatibilities(CompositeMigrationResolver.java:144)
  23. at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.doFindAvailableMigrations(CompositeMigrationResolver.java:111)
  24. at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:94)
  25. at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:42)
  26. at org.flywaydb.core.internal.info.MigrationInfoServiceImpl.refresh(MigrationInfoServiceImpl.java:96)
  27. at org.flywaydb.core.internal.command.DbValidate$2.doInTransaction(DbValidate.java:136)
  28. at org.flywaydb.core.internal.command.DbValidate$2.doInTransaction(DbValidate.java:131)
  29. at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
  30. at org.flywaydb.core.internal.command.DbValidate.validate(DbValidate.java:131)
  31. at org.flywaydb.core.Flyway.doValidate(Flyway.java:904)
  32. at org.flywaydb.core.Flyway.access$400(Flyway.java:50)
  33. at org.flywaydb.core.Flyway$1.execute(Flyway.java:817)
  34. at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
  35. at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
  36. at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
  37. at com.augmate.api.bundles.MigrateOnStartupBundle.run(MigrateOnStartupBundle.java:44)
  38. at com.augmate.api.bundles.MigrateOnStartupBundle.run(MigrateOnStartupBundle.java:19)
  39. at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:183)
  40. at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:41)
  41. at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
  42. at io.dropwizard.cli.Cli.run(Cli.java:70)
  43. at io.dropwizard.Application.run(Application.java:73)
  44. at com.augmate.api.ApiService.main(ApiService.java:69)
  45. :run FAILED
  46.  
  47. FAILURE: Build failed with an exception.
  48.  
  49. * What went wrong:
  50. Execution failed for task ':run'.
  51. > Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
  52.  
  53. * Try:
  54. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  55.  
  56. BUILD FAILED
  57.  
  58. Total time: 27.655 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement