I am on Ubuntu and I have following maven coordinates in my Spring Boot Project: <dependency> <groupId>ru.yandex.qatools.embed</groupId> <artifactId>postgresql-embedded</artifactId> <version>2.10</version> </dependency> and follwing Postgres configuration I am useing: System.out.println("-----------------------------Hello World-------------------------------------------"); DriverManagerDataSource ds = new DriverManagerDataSource(); ds.setDriverClassName("org.postgresql.Driver"); ds.setUrl(String.format("jdbc:postgresql://%s:%s/%s", config.net().host(), config.net().port(), config.storage().dbName())); ds.setUsername(config.credentials().username()); ds.setPassword(config.credentials().password()); and it fails to download postgres and hence desn't work.
I am on Ubuntu and I have following maven coordinates in my Spring Boot Project:
ru.yandex.qatools.embed
postgresql-embedded
2.10
and follwing Postgres configuration I am useing:
System.out.println("-----------------------------Hello World-------------------------------------------");
DriverManagerDataSource ds = new DriverManagerDataSource();
ds.setDriverClassName("org.postgresql.Driver");
ds.setUrl(String.format("jdbc:postgresql://%s:%s/%s", config.net().host(), config.net().port(), config.storage().dbName()));
ds.setUsername(config.credentials().username());
ds.setPassword(config.credentials().password());
and it fails to download postgres and hence desn't work.