Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ugmate-api git:(feature/WM-89_push_files_to_device) AUGMATE_ENVIRONMENT=localhost ./gradlew run
- > Loading
- :api-sdk:compileJava
- warning: [options] bootstrap class path not set in conjunction with -source 1.7
- 1 warning
- :api-sdk:processResources UP-TO-DATE
- :api-sdk:classes
- :api-sdk:jar
- :compileJava
- Note: Some input files use or override a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- Note: Some input files use unchecked or unsafe operations.
- Note: Recompile with -Xlint:unchecked for details.
- :processResources
- :classes
- :run
- INFO [#] [p= v=] org.eclipse.jetty.util.log > Logging initialized @2247ms
- DEBUG [#] [p= v=] com.augmate.api.bundles.MigrateOnStartupBundle > Waiting for Database..
- INFO [#] [p= v=] com.augmate.api.bundles.MigrateOnStartupBundle > Running migrations..
- INFO [#] [p= v=] org.flywaydb.core.internal.dbsupport.DbSupportFactory > Database: jdbc:mysql://localhost:3306/api?rewriteBatchedStatements=true (MySQL 5.6)
- 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')
- at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.checkForIncompatibilities(CompositeMigrationResolver.java:144)
- at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.doFindAvailableMigrations(CompositeMigrationResolver.java:111)
- at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:94)
- at org.flywaydb.core.internal.resolver.CompositeMigrationResolver.resolveMigrations(CompositeMigrationResolver.java:42)
- at org.flywaydb.core.internal.info.MigrationInfoServiceImpl.refresh(MigrationInfoServiceImpl.java:96)
- at org.flywaydb.core.internal.command.DbValidate$2.doInTransaction(DbValidate.java:136)
- at org.flywaydb.core.internal.command.DbValidate$2.doInTransaction(DbValidate.java:131)
- at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
- at org.flywaydb.core.internal.command.DbValidate.validate(DbValidate.java:131)
- at org.flywaydb.core.Flyway.doValidate(Flyway.java:904)
- at org.flywaydb.core.Flyway.access$400(Flyway.java:50)
- at org.flywaydb.core.Flyway$1.execute(Flyway.java:817)
- at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
- at com.augmate.api.bundles.MigrateOnStartupBundle.run(MigrateOnStartupBundle.java:44)
- at com.augmate.api.bundles.MigrateOnStartupBundle.run(MigrateOnStartupBundle.java:19)
- at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:183)
- at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:41)
- at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
- at io.dropwizard.cli.Cli.run(Cli.java:70)
- at io.dropwizard.Application.run(Application.java:73)
- at com.augmate.api.ApiService.main(ApiService.java:69)
- :run FAILED
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':run'.
- > Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
- BUILD FAILED
- Total time: 27.655 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement