在此处输入图像描述HIII!我试着用SpringBoot创建一个应用程序,我试着用heroku中的postgres数据库,但是我在hikari池初始化时收到了以下错误消息。我确信我在application.properties中写下了关于heroku数据库的正确信息`
fcy6dtqo1#
my pom.xml:4.0.0 org.springframework.boot spring boot starter parent 2.3.2.release telmaapi telma 0.0.1-snapshot telma spring boot演示项目
<properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>
1条答案
按热度按时间fcy6dtqo1#
my pom.xml:4.0.0 org.springframework.boot spring boot starter parent 2.3.2.release telmaapi telma 0.0.1-snapshot telma spring boot演示项目