Advertisement
Guest User

Untitled

a guest
May 12th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. # Database Properties
  2. spring.jpa.database=POSTGRESQL
  3. spring.jpa.show-sql=true
  4. spring.jpa.hibernate.ddl-auto=validate
  5. spring.database.driverClassName=org.postgresql.Driver
  6. spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
  7.  
  8. # Data Rest Properties
  9. spring.data.rest.basePath=/api
  10.  
  11. # Logging Properties
  12. logging.level.root=WARN
  13. logging.level.org.flywaydb=INFO
  14. logging.level.com.myproj=INFO
  15.  
  16. # Server Properties
  17. server.port=8081
  18.  
  19. # Database Properties
  20. spring.jpa.database=H2
  21. spring.database.driverClassName=org.h2.Driver
  22. spring.datasource.url=jdbc:h2:mem:mydb-test
  23.  
  24. # Dev Tools Properties
  25. spring.devtools.restart.enabled=false
  26.  
  27. # Flyway Properties
  28. flyway.locations=classpath:db/migration,classpath:db/test_seed_data
  29.  
  30. . ____ _ __ _ _
  31. /\ / ___'_ __ _ _(_)_ __ __ _
  32. ( ( )___ | '_ | '_| | '_ / _` |
  33. \/ ___)| |_)| | | | | || (_| | ) ) ) )
  34. ' |____| .__|_| |_|_| |___, | / / / /
  35. =========|_|==============|___/=/_/_/_/
  36. :: Spring Boot :: (v1.4.0.M2)
  37.  
  38. 2016-05-11 23:01:16.052 INFO 86897 --- [ restartedMain] com.myproj.myprojApplicationKt : Starting myprojApplicationKt on me.local with PID 86897 (/Users/me/Workspace/myproj/target/classes started by me in /Users/me/Workspace/myproj)
  39. 2016-05-11 23:01:16.054 INFO 86897 --- [ restartedMain] com.me.myprojApplicationKt : The following profiles are active: test
  40. 2016-05-11 23:01:20.312 ERROR 86897 --- [ost-startStop-1] o.s.b.c.embedded.tomcat.TomcatStarter : Error starting Tomcat context: org.springframework.beans.factory.UnsatisfiedDependencyException
  41. 2016-05-11 23:01:20.379 WARN 86897 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  42. 2016-05-11 23:01:20.404 ERROR 86897 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed
  43.  
  44. Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing table [table-name]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement