해결된 질문
작성
·
200
0
ubuntu@ip-172-31-86-200:~$ cd memberCertification
ubuntu@ip-172-31-86-200:~/memberCertification$ ./gradlew clean build
BUILD SUCCESSFUL in 7s
6 actionable tasks: 6 executed
ubuntu@ip-172-31-86-200:~/memberCertification$ ls
build build.gradle gradle gradlew gradlew.bat settings.gradle src
ubuntu@ip-172-31-86-200:~/memberCertification$ cd build
ubuntu@ip-172-31-86-200:~/memberCertification/build$ ls
classes generated libs resolvedMainClassName resources tmp
ubuntu@ip-172-31-86-200:~/memberCertification/build$ cd libs
ubuntu@ip-172-31-86-200:~/memberCertification/build/libs$ ls
memberCertification-0.0.1-SNAPSHOT-plain.jar memberCertification-0.0.1-SNAPSHOT.jar
ubuntu@ip-172-31-86-200:~/memberCertification/build/libs$ nohup java -jar memberCertification-0.0.1-SNAPSHOT.jar &
[1] 1678
ubuntu@ip-172-31-86-200:~/memberCertification/build/libs$ nohup: ignoring input and appending output to 'nohup.out'
ubuntu@ip-172-31-86-200:~/memberCertification/build/libs$ sudo lsof -i:8080
ubuntu@ip-172-31-86-200:~/memberCertification/build/libs$
org.postgresql.util.PSQLException: FATAL: password authentication failed for user "jjeong"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:693) ~[postgresql-42.6.0.jar!/:42.6.0]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution [FATAL: password authentication failed for user "jjeong"] [n/a]
application.properties#datasource
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/membercertification
spring.datasource.username=jjeong
spring.datasource.password=0525
url, username, password가 다 들어맞는 것도 확인했습니다. build.gradledependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.modelmapper:modelmapper:3.1.0'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.2.RELEASE'
// implementation 'org.hibernate.orm:hibernate-core:6.2.6.Final'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
}
어디가 문제인지 모르겠습니다 ㅠㅠ답변 1
0
해당 에러 메시지가 줄 글로 되어 있어서 조금 읽기가 어렵네요..!!
혹시 아래 오픈 톡방으로 연락 한 번 주실 수 있을까요 ?
https://open.kakao.com/o/sHdY8yrg
제가 에러를 파악하는 데 필요한 내용들을 하나씩 요청드릴게요!