Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Database Properties
- spring.jpa.database=POSTGRESQL
- spring.jpa.show-sql=true
- spring.jpa.hibernate.ddl-auto=validate
- spring.database.driverClassName=org.postgresql.Driver
- spring.datasource.url=jdbc:postgresql://localhost:5432/mydb
- # Data Rest Properties
- spring.data.rest.basePath=/api
- # Logging Properties
- logging.level.root=WARN
- logging.level.org.flywaydb=INFO
- logging.level.com.myproj=INFO
- # Server Properties
- server.port=8081
- # Database Properties
- spring.jpa.database=H2
- spring.database.driverClassName=org.h2.Driver
- spring.datasource.url=jdbc:h2:mem:mydb-test
- # Dev Tools Properties
- spring.devtools.restart.enabled=false
- # Flyway Properties
- flyway.locations=classpath:db/migration,classpath:db/test_seed_data
- . ____ _ __ _ _
- /\ / ___'_ __ _ _(_)_ __ __ _
- ( ( )___ | '_ | '_| | '_ / _` |
- \/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |___, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v1.4.0.M2)
- 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)
- 2016-05-11 23:01:16.054 INFO 86897 --- [ restartedMain] com.me.myprojApplicationKt : The following profiles are active: test
- 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
- 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
- 2016-05-11 23:01:20.404 ERROR 86897 --- [ restartedMain] o.s.boot.SpringApplication : Application startup failed
- Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing table [table-name]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement