From 899fc3d9ecf21fa6f06a8e94cfde8bfadf4ec5d1 Mon Sep 17 00:00:00 2001 From: KyungsooLee Date: Wed, 25 Sep 2024 02:17:24 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20#184=20boardDTO=EC=97=90=EB=8B=89?= =?UTF-8?q?=EB=84=A4=EC=9E=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logs/qapple-debug.log | 1045 +++++++++++++++++ logs/qapple-error.log | 224 ++++ logs/qapple-info.log | 91 ++ logs/qapple-trace.log | 0 logs/qapple-warn.log | 48 + .../domain/board/dto/BoardResponse.java | 1 + .../domain/board/mapper/BoardMapper.java | 2 + 7 files changed, 1411 insertions(+) create mode 100644 logs/qapple-debug.log create mode 100644 logs/qapple-error.log create mode 100644 logs/qapple-info.log create mode 100644 logs/qapple-trace.log create mode 100644 logs/qapple-warn.log diff --git a/logs/qapple-debug.log b/logs/qapple-debug.log new file mode 100644 index 00000000..7d83658f --- /dev/null +++ b/logs/qapple-debug.log @@ -0,0 +1,1045 @@ +24-09-25 02:14:44.253 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer + drop constraint if exists FKn2sp5pa6h0u2kixjl2r4vfluf +24-09-25 02:14:59.248 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer + drop constraint if exists FKn2sp5pa6h0u2kixjl2r4vfluf +24-09-25 02:14:59.270 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer + drop constraint if exists FK8frr4bcabmmeyyu60qt7iiblo +24-09-25 02:14:59.272 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer_comment + drop constraint if exists FKbi4ojf23mofyyc9wmmslub4ln +24-09-25 02:14:59.274 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer_comment + drop constraint if exists FKg8y3olib0grseg47wcg4brnbu +24-09-25 02:14:59.276 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board + drop constraint if exists FKsds8ox89wwf6aihinar49rmfy +24-09-25 02:14:59.277 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment + drop constraint if exists FKke01v1gkigv4065kfl3aavje6 +24-09-25 02:14:59.279 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment + drop constraint if exists FK64jss2hm62irnkve3pm5qmv5d +24-09-25 02:14:59.279 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_heart + drop constraint if exists FK6t01p8jd3h9qg93jjpaflqc2f +24-09-25 02:14:59.280 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_heart + drop constraint if exists FKh04vfqopvuu1mmbtplufnwvo9 +24-09-25 02:14:59.281 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_report + drop constraint if exists FKq7llenuecqndpdj2h1bsnl6gp +24-09-25 02:14:59.281 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_report + drop constraint if exists FK4f3egxtcwxhlg0cthv79d1hff +24-09-25 02:14:59.282 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_heart + drop constraint if exists FKkwf51qi61v8a0upxiycub16g4 +24-09-25 02:14:59.283 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_heart + drop constraint if exists FKbb4t6aacbcdpshwp3ahb0y0my +24-09-25 02:14:59.283 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_report + drop constraint if exists FK3hktreut2820tq3bb8fk3k2cf +24-09-25 02:14:59.284 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_report + drop constraint if exists FKe03ofb0xj7ostfwyh5slwy0rs +24-09-25 02:14:59.284 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_subscribe_member + drop constraint if exists FKalp88plwrc0oib5v7s74h2jaw +24-09-25 02:14:59.285 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_subscribe_member + drop constraint if exists FKrdiutgmr7b02uu3mhjgf2sosl +24-09-25 02:14:59.286 DEBUG --- [main] org.hibernate.SQL - + alter table if exists notification + drop constraint if exists FKre6o6v6wcqjtrtgs12b7f4uuf +24-09-25 02:14:59.288 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + drop constraint if exists FKgkwsg0pax6ikiw9jfarnembwo +24-09-25 02:14:59.288 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + drop constraint if exists FKel7y5wyx42a6njav1dbe2torl +24-09-25 02:14:59.289 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + drop constraint if exists FK6orr74hssv0j9895jjt8yq7xd +24-09-25 02:14:59.289 DEBUG --- [main] org.hibernate.SQL - + drop table if exists answer cascade +24-09-25 02:14:59.294 DEBUG --- [main] org.hibernate.SQL - + drop table if exists answer_comment cascade +24-09-25 02:14:59.295 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board cascade +24-09-25 02:14:59.296 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_comment cascade +24-09-25 02:14:59.297 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_comment_heart cascade +24-09-25 02:14:59.298 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_comment_report cascade +24-09-25 02:14:59.299 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_heart cascade +24-09-25 02:14:59.300 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_report cascade +24-09-25 02:14:59.301 DEBUG --- [main] org.hibernate.SQL - + drop table if exists board_subscribe_member cascade +24-09-25 02:14:59.301 DEBUG --- [main] org.hibernate.SQL - + drop table if exists member cascade +24-09-25 02:14:59.302 DEBUG --- [main] org.hibernate.SQL - + drop table if exists notification cascade +24-09-25 02:14:59.303 DEBUG --- [main] org.hibernate.SQL - + drop table if exists notification_log cascade +24-09-25 02:14:59.304 DEBUG --- [main] org.hibernate.SQL - + drop table if exists question cascade +24-09-25 02:14:59.305 DEBUG --- [main] org.hibernate.SQL - + drop table if exists report cascade +24-09-25 02:14:59.305 DEBUG --- [main] org.hibernate.SQL - + drop table if exists tag cascade +24-09-25 02:14:59.309 DEBUG --- [main] org.hibernate.SQL - + create table answer ( + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + question_id bigint not null, + updated_at timestamp(6), + content varchar(255) not null, + primary key (id) + ) +24-09-25 02:14:59.319 DEBUG --- [main] org.hibernate.SQL - + create table answer_comment ( + answer_id bigint not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + content varchar(255) not null, + primary key (id) + ) +24-09-25 02:14:59.321 DEBUG --- [main] org.hibernate.SQL - + create table board ( + board_type smallint not null check (board_type between 0 and 1), + comment_count integer default 0, + heart_count integer default 0, + is_report boolean not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + content varchar(255) not null, + primary key (id) + ) +24-09-25 02:14:59.325 DEBUG --- [main] org.hibernate.SQL - + create table board_comment ( + heart_count integer default 0, + is_report boolean not null, + board_id bigint not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + content varchar(255) not null, + primary key (id) + ) +24-09-25 02:14:59.327 DEBUG --- [main] org.hibernate.SQL - + create table board_comment_heart ( + is_liked boolean not null, + board_comment_id bigint, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_member_id bigint, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.329 DEBUG --- [main] org.hibernate.SQL - + create table board_comment_report ( + board_comment_report_type smallint not null check (board_comment_report_type between 0 and 6), + board_id bigint not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.331 DEBUG --- [main] org.hibernate.SQL - + create table board_heart ( + is_liked boolean not null, + board_id bigint not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.332 DEBUG --- [main] org.hibernate.SQL - + create table board_report ( + board_report_type smallint not null check (board_report_type between 0 and 6), + board_id bigint not null, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.334 DEBUG --- [main] org.hibernate.SQL - + create table board_subscribe_member ( + board_id bigint not null, + id bigserial not null, + member_id bigint not null, + primary key (id) + ) +24-09-25 02:14:59.337 DEBUG --- [main] org.hibernate.SQL - + create table member ( + created_at timestamp(6), + deleted_at timestamp(6), + member_id bigserial not null, + updated_at timestamp(6), + email varchar(255) not null, + nickname varchar(255) not null, + profile_image varchar(255), + role varchar(255) not null check (role in ('ROLE_VISITOR','ROLE_ADMIN','ROLE_ACADEMIER','ROLE_DEVELOPER')), + sub varchar(255) not null, + primary key (member_id) + ) +24-09-25 02:14:59.340 DEBUG --- [main] org.hibernate.SQL - + create table notification ( + type smallint check (type between 0 and 5), + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint, + notification_log_id bigint, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.342 DEBUG --- [main] org.hibernate.SQL - + create table notification_log ( + board_comment_id bigint, + board_id bigint, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + question_id bigint, + updated_at timestamp(6), + body varchar(255), + subtitle varchar(255), + primary key (id) + ) +24-09-25 02:14:59.345 DEBUG --- [main] org.hibernate.SQL - + create table question ( + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + lived_at timestamp(6), + updated_at timestamp(6), + content varchar(255) not null, + question_status varchar(255) not null check (question_status in ('LIVE','OLD','HOLD','PENDING')), + primary key (id) + ) +24-09-25 02:14:59.348 DEBUG --- [main] org.hibernate.SQL - + create table report ( + report_type smallint not null check (report_type between 0 and 6), + answer_id bigint, + created_at timestamp(6), + deleted_at timestamp(6), + id bigserial not null, + member_id bigint not null, + question_id bigint, + updated_at timestamp(6), + primary key (id) + ) +24-09-25 02:14:59.349 DEBUG --- [main] org.hibernate.SQL - + create table tag ( + tag_id bigserial not null, + tag_name varchar(255), + primary key (tag_id) + ) +24-09-25 02:14:59.351 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer + add constraint FKn2sp5pa6h0u2kixjl2r4vfluf + foreign key (member_id) + references member +24-09-25 02:14:59.356 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer + add constraint FK8frr4bcabmmeyyu60qt7iiblo + foreign key (question_id) + references question +24-09-25 02:14:59.357 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer_comment + add constraint FKbi4ojf23mofyyc9wmmslub4ln + foreign key (answer_id) + references answer +24-09-25 02:14:59.357 DEBUG --- [main] org.hibernate.SQL - + alter table if exists answer_comment + add constraint FKg8y3olib0grseg47wcg4brnbu + foreign key (member_id) + references member +24-09-25 02:14:59.359 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board + add constraint FKsds8ox89wwf6aihinar49rmfy + foreign key (member_id) + references member +24-09-25 02:14:59.361 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment + add constraint FKke01v1gkigv4065kfl3aavje6 + foreign key (board_id) + references board +24-09-25 02:14:59.361 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment + add constraint FK64jss2hm62irnkve3pm5qmv5d + foreign key (member_id) + references member +24-09-25 02:14:59.362 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_heart + add constraint FK6t01p8jd3h9qg93jjpaflqc2f + foreign key (board_comment_id) + references board_comment +24-09-25 02:14:59.363 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_heart + add constraint FKh04vfqopvuu1mmbtplufnwvo9 + foreign key (member_member_id) + references member +24-09-25 02:14:59.364 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_report + add constraint FKq7llenuecqndpdj2h1bsnl6gp + foreign key (board_id) + references board_comment +24-09-25 02:14:59.365 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_comment_report + add constraint FK4f3egxtcwxhlg0cthv79d1hff + foreign key (member_id) + references member +24-09-25 02:14:59.366 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_heart + add constraint FKkwf51qi61v8a0upxiycub16g4 + foreign key (board_id) + references board +24-09-25 02:14:59.366 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_heart + add constraint FKbb4t6aacbcdpshwp3ahb0y0my + foreign key (member_id) + references member +24-09-25 02:14:59.367 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_report + add constraint FK3hktreut2820tq3bb8fk3k2cf + foreign key (board_id) + references board +24-09-25 02:14:59.368 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_report + add constraint FKe03ofb0xj7ostfwyh5slwy0rs + foreign key (member_id) + references member +24-09-25 02:14:59.368 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_subscribe_member + add constraint FKalp88plwrc0oib5v7s74h2jaw + foreign key (board_id) + references board +24-09-25 02:14:59.369 DEBUG --- [main] org.hibernate.SQL - + alter table if exists board_subscribe_member + add constraint FKrdiutgmr7b02uu3mhjgf2sosl + foreign key (member_id) + references member +24-09-25 02:14:59.370 DEBUG --- [main] org.hibernate.SQL - + alter table if exists notification + add constraint FKre6o6v6wcqjtrtgs12b7f4uuf + foreign key (notification_log_id) + references notification_log +24-09-25 02:14:59.371 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + add constraint FKgkwsg0pax6ikiw9jfarnembwo + foreign key (answer_id) + references answer +24-09-25 02:14:59.372 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + add constraint FKel7y5wyx42a6njav1dbe2torl + foreign key (member_id) + references member +24-09-25 02:14:59.373 DEBUG --- [main] org.hibernate.SQL - + alter table if exists report + add constraint FK6orr74hssv0j9895jjt8yq7xd + foreign key (question_id) + references question +24-09-25 02:15:09.076 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/index.html +24-09-25 02:15:09.085 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.089 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/index.html +24-09-25 02:15:09.125 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/swagger-ui.css +24-09-25 02:15:09.125 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.126 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/swagger-ui.css +24-09-25 02:15:09.135 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/index.css +24-09-25 02:15:09.136 DEBUG --- [http-nio-8080-exec-4] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/swagger-ui-bundle.js +24-09-25 02:15:09.136 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.136 DEBUG --- [http-nio-8080-exec-4] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.137 DEBUG --- [http-nio-8080-exec-4] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/swagger-ui-bundle.js +24-09-25 02:15:09.137 DEBUG --- [http-nio-8080-exec-5] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/swagger-ui-standalone-preset.js +24-09-25 02:15:09.137 DEBUG --- [http-nio-8080-exec-6] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/swagger-initializer.js +24-09-25 02:15:09.137 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/index.css +24-09-25 02:15:09.138 DEBUG --- [http-nio-8080-exec-5] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.138 DEBUG --- [http-nio-8080-exec-5] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/swagger-ui-standalone-preset.js +24-09-25 02:15:09.138 DEBUG --- [http-nio-8080-exec-6] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.139 DEBUG --- [http-nio-8080-exec-6] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/swagger-initializer.js +24-09-25 02:15:09.258 DEBUG --- [http-nio-8080-exec-7] org.springframework.security.web.FilterChainProxy - Securing GET /api-docs/swagger-config +24-09-25 02:15:09.258 DEBUG --- [http-nio-8080-exec-7] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.258 DEBUG --- [http-nio-8080-exec-7] org.springframework.security.web.FilterChainProxy - Secured GET /api-docs/swagger-config +24-09-25 02:15:09.258 DEBUG --- [http-nio-8080-exec-8] org.springframework.security.web.FilterChainProxy - Securing GET /swagger-ui/favicon-32x32.png +24-09-25 02:15:09.258 DEBUG --- [http-nio-8080-exec-8] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.259 DEBUG --- [http-nio-8080-exec-8] org.springframework.security.web.FilterChainProxy - Secured GET /swagger-ui/favicon-32x32.png +24-09-25 02:15:09.281 DEBUG --- [http-nio-8080-exec-9] org.springframework.security.web.FilterChainProxy - Securing GET /api-docs +24-09-25 02:15:09.282 DEBUG --- [http-nio-8080-exec-9] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:09.282 DEBUG --- [http-nio-8080-exec-9] org.springframework.security.web.FilterChainProxy - Secured GET /api-docs +24-09-25 02:15:26.344 DEBUG --- [http-nio-8080-exec-10] org.springframework.security.web.FilterChainProxy - Securing GET /members/local-sign-in?testId=1&deviceToken=1 +24-09-25 02:15:26.345 DEBUG --- [http-nio-8080-exec-10] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:26.347 DEBUG --- [http-nio-8080-exec-10] org.springframework.security.web.FilterChainProxy - Secured GET /members/local-sign-in?testId=1&deviceToken=1 +24-09-25 02:15:26.418 DEBUG --- [http-nio-8080-exec-10] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.sub=? + and m1_0.deleted_at is null +24-09-25 02:15:43.162 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Securing POST /members/sign-up +24-09-25 02:15:43.164 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Set SecurityContextHolder to anonymous SecurityContext +24-09-25 02:15:43.165 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Secured POST /members/sign-up +24-09-25 02:15:43.236 DEBUG --- [http-nio-8080-exec-1] org.hibernate.SQL - + insert + into + member + (created_at, deleted_at, email, nickname, profile_image, role, sub, updated_at) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:05.231 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Securing GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:05.267 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:05.280 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Secured GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:05.302 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + select + distinct b1_0.id, + b1_0.board_type, + b1_0.comment_count, + b1_0.content, + b1_0.created_at, + b1_0.deleted_at, + b1_0.heart_count, + b1_0.is_report, + b1_0.updated_at, + b1_0.member_id, + case + when bh1_0.is_liked=true + then true + else false + end, + case + when b1_0.member_id=? + then true + else false + end + from + board b1_0 + left join + board_heart bh1_0 + on b1_0.id=bh1_0.board_id + and bh1_0.member_id=? + where + ( + b1_0.deleted_at is null + ) + and ( + ? is null + or b1_0.board_type=? + ) + order by + b1_0.created_at desc + offset + ? rows + fetch + first ? rows only +24-09-25 02:16:06.432 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Securing GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:06.453 DEBUG --- [http-nio-8080-exec-3] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:06.461 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Secured GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:06.469 DEBUG --- [http-nio-8080-exec-3] org.hibernate.SQL - + select + distinct b1_0.id, + b1_0.board_type, + b1_0.comment_count, + b1_0.content, + b1_0.created_at, + b1_0.deleted_at, + b1_0.heart_count, + b1_0.is_report, + b1_0.updated_at, + b1_0.member_id, + case + when bh1_0.is_liked=true + then true + else false + end, + case + when b1_0.member_id=? + then true + else false + end + from + board b1_0 + left join + board_heart bh1_0 + on b1_0.id=bh1_0.board_id + and bh1_0.member_id=? + where + ( + b1_0.deleted_at is null + ) + and ( + ? is null + or b1_0.board_type=? + ) + order by + b1_0.created_at desc + offset + ? rows + fetch + first ? rows only +24-09-25 02:16:14.219 DEBUG --- [http-nio-8080-exec-8] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:14.229 DEBUG --- [http-nio-8080-exec-8] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:14.234 DEBUG --- [http-nio-8080-exec-8] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:14.304 DEBUG --- [http-nio-8080-exec-8] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:14.318 DEBUG --- [http-nio-8080-exec-8] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:14.320 DEBUG --- [http-nio-8080-exec-8] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:14.706 DEBUG --- [http-nio-8080-exec-7] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:14.708 DEBUG --- [http-nio-8080-exec-7] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:14.711 DEBUG --- [http-nio-8080-exec-7] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:14.712 DEBUG --- [http-nio-8080-exec-7] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:14.716 DEBUG --- [http-nio-8080-exec-7] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:14.717 DEBUG --- [http-nio-8080-exec-7] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:14.870 DEBUG --- [http-nio-8080-exec-9] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:14.878 DEBUG --- [http-nio-8080-exec-9] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:14.885 DEBUG --- [http-nio-8080-exec-9] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:14.889 DEBUG --- [http-nio-8080-exec-9] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:14.896 DEBUG --- [http-nio-8080-exec-9] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:14.899 DEBUG --- [http-nio-8080-exec-9] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:16.493 DEBUG --- [http-nio-8080-exec-10] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:16.499 DEBUG --- [http-nio-8080-exec-10] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:16.508 DEBUG --- [http-nio-8080-exec-10] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:16.512 DEBUG --- [http-nio-8080-exec-10] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:16.519 DEBUG --- [http-nio-8080-exec-10] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:16.522 DEBUG --- [http-nio-8080-exec-10] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:16.641 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:16.646 DEBUG --- [http-nio-8080-exec-1] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:16.653 DEBUG --- [http-nio-8080-exec-1] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:16.658 DEBUG --- [http-nio-8080-exec-1] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:16.665 DEBUG --- [http-nio-8080-exec-1] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:16.668 DEBUG --- [http-nio-8080-exec-1] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:16.774 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Securing POST /boards +24-09-25 02:16:16.776 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:16.780 DEBUG --- [http-nio-8080-exec-2] org.springframework.security.web.FilterChainProxy - Secured POST /boards +24-09-25 02:16:16.786 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + insert + into + board + (board_type, comment_count, content, created_at, heart_count, is_report, updated_at, member_id) + values + (?, ?, ?, ?, ?, ?, ?, ?) +24-09-25 02:16:16.790 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + select + bsm1_0.id + from + board_subscribe_member bsm1_0 + left join + member m1_0 + on m1_0.member_id=bsm1_0.member_id + left join + board b1_0 + on b1_0.id=bsm1_0.board_id + and (b1_0.deleted_at is null) + where + m1_0.member_id=? + and b1_0.id=? + fetch + first ? rows only +24-09-25 02:16:16.792 DEBUG --- [http-nio-8080-exec-2] org.hibernate.SQL - + insert + into + board_subscribe_member + (board_id, member_id) + values + (?, ?) +24-09-25 02:16:19.314 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Securing GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:19.326 DEBUG --- [http-nio-8080-exec-3] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:19.332 DEBUG --- [http-nio-8080-exec-3] org.springframework.security.web.FilterChainProxy - Secured GET /boards?pageNumber=0&pageSize=1000 +24-09-25 02:16:19.338 DEBUG --- [http-nio-8080-exec-3] org.hibernate.SQL - + select + distinct b1_0.id, + b1_0.board_type, + b1_0.comment_count, + b1_0.content, + b1_0.created_at, + b1_0.deleted_at, + b1_0.heart_count, + b1_0.is_report, + b1_0.updated_at, + b1_0.member_id, + case + when bh1_0.is_liked=true + then true + else false + end, + case + when b1_0.member_id=? + then true + else false + end + from + board b1_0 + left join + board_heart bh1_0 + on b1_0.id=bh1_0.board_id + and bh1_0.member_id=? + where + ( + b1_0.deleted_at is null + ) + and ( + ? is null + or b1_0.board_type=? + ) + order by + b1_0.created_at desc + offset + ? rows + fetch + first ? rows only +24-09-25 02:16:19.360 DEBUG --- [http-nio-8080-exec-3] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? +24-09-25 02:16:32.258 DEBUG --- [http-nio-8080-exec-5] org.springframework.security.web.FilterChainProxy - Securing GET /boards/search?keyword=1&pageNumber=0&pageSize=1000 +24-09-25 02:16:32.265 DEBUG --- [http-nio-8080-exec-5] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:32.271 DEBUG --- [http-nio-8080-exec-5] org.springframework.security.web.FilterChainProxy - Secured GET /boards/search?keyword=1&pageNumber=0&pageSize=1000 +24-09-25 02:16:32.287 DEBUG --- [http-nio-8080-exec-5] org.hibernate.SQL - + select + distinct b1_0.id, + b1_0.board_type, + b1_0.comment_count, + b1_0.content, + b1_0.created_at, + b1_0.deleted_at, + b1_0.heart_count, + b1_0.is_report, + b1_0.updated_at, + b1_0.member_id, + case + when bh1_0.is_liked=true + then true + else false + end, + case + when b1_0.member_id=? + then true + else false + end + from + board b1_0 + left join + board_heart bh1_0 + on b1_0.id=bh1_0.board_id + and bh1_0.member_id=? + where + ( + b1_0.deleted_at is null + ) + and b1_0.content like ? escape '' + and b1_0.board_type=0 + order by + b1_0.created_at desc, + b1_0.created_at desc + offset + ? rows + fetch + first ? rows only +24-09-25 02:16:39.963 DEBUG --- [http-nio-8080-exec-4] org.springframework.security.web.FilterChainProxy - Securing GET /boards/search?keyword=st&pageNumber=0&pageSize=1000 +24-09-25 02:16:39.985 DEBUG --- [http-nio-8080-exec-4] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? + and m1_0.deleted_at is null +24-09-25 02:16:39.993 DEBUG --- [http-nio-8080-exec-4] org.springframework.security.web.FilterChainProxy - Secured GET /boards/search?keyword=st&pageNumber=0&pageSize=1000 +24-09-25 02:16:40.001 DEBUG --- [http-nio-8080-exec-4] org.hibernate.SQL - + select + distinct b1_0.id, + b1_0.board_type, + b1_0.comment_count, + b1_0.content, + b1_0.created_at, + b1_0.deleted_at, + b1_0.heart_count, + b1_0.is_report, + b1_0.updated_at, + b1_0.member_id, + case + when bh1_0.is_liked=true + then true + else false + end, + case + when b1_0.member_id=? + then true + else false + end + from + board b1_0 + left join + board_heart bh1_0 + on b1_0.id=bh1_0.board_id + and bh1_0.member_id=? + where + ( + b1_0.deleted_at is null + ) + and b1_0.content like ? escape '' + and b1_0.board_type=0 + order by + b1_0.created_at desc, + b1_0.created_at desc + offset + ? rows + fetch + first ? rows only +24-09-25 02:16:40.010 DEBUG --- [http-nio-8080-exec-4] org.hibernate.SQL - + select + m1_0.member_id, + m1_0.created_at, + m1_0.deleted_at, + m1_0.email, + m1_0.nickname, + m1_0.profile_image, + m1_0.role, + m1_0.sub, + m1_0.updated_at + from + member m1_0 + where + m1_0.member_id=? diff --git a/logs/qapple-error.log b/logs/qapple-error.log new file mode 100644 index 00000000..7529ea28 --- /dev/null +++ b/logs/qapple-error.log @@ -0,0 +1,224 @@ +24-09-25 02:14:43.593 ERROR --- [main] com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization. +org.postgresql.util.PSQLException: Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) + at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) + at org.postgresql.jdbc.PgConnection.(PgConnection.java:263) + at org.postgresql.Driver.makeConnection(Driver.java:443) + at org.postgresql.Driver.connect(Driver.java:297) + at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) + at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) + at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) + at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) + at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) + at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:100) + at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) + at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:61) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) + at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:129) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) + at org.hibernate.boot.model.relational.Database.(Database.java:45) + at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:223) + at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.(InFlightMetadataCollectorImpl.java:191) + at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:170) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1432) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1503) + at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) + at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1231) + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) + at com.server.capple.CappleApplication.main(CappleApplication.java:27) +Caused by: java.net.ConnectException: Connection refused + at java.base/sun.nio.ch.Net.pollConnect(Native Method) + at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682) + at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542) + at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592) + at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) + at java.base/java.net.Socket.connect(Socket.java:751) + at org.postgresql.core.PGStream.createSocket(PGStream.java:243) + at org.postgresql.core.PGStream.(PGStream.java:98) + at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) + ... 50 common frames omitted +24-09-25 02:14:45.259 ERROR --- [main] com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization. +org.postgresql.util.PSQLException: Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) + at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) + at org.postgresql.jdbc.PgConnection.(PgConnection.java:263) + at org.postgresql.Driver.makeConnection(Driver.java:443) + at org.postgresql.Driver.connect(Driver.java:297) + at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) + at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) + at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) + at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) + at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) + at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:100) + at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) + at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) + at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:46) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.getIsolatedConnection(GenerationTargetToDatabase.java:60) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:112) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:79) + at org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) + at org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.applyConstraintDropping(SchemaDropperImpl.java:470) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropConstraintsTablesSequences(SchemaDropperImpl.java:242) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:215) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:185) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:155) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:115) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:244) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) + at java.base/java.util.HashMap.forEach(HashMap.java:1429) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) + at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) + at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) + at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:315) + at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) + at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) + at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1231) + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) + at com.server.capple.CappleApplication.main(CappleApplication.java:27) +Caused by: java.net.ConnectException: Connection refused + at java.base/sun.nio.ch.Net.pollConnect(Native Method) + at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682) + at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549) + at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592) + at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) + at java.base/java.net.Socket.connect(Socket.java:751) + at org.postgresql.core.PGStream.createSocket(PGStream.java:243) + at org.postgresql.core.PGStream.(PGStream.java:98) + at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) + ... 57 common frames omitted +24-09-25 02:14:45.263 ERROR --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. +24-09-25 02:14:45.269 ERROR --- [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Failed to initialize JPA EntityManagerFactory: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution [Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.] [n/a] +24-09-25 02:14:45.297 ERROR --- [main] org.springframework.boot.SpringApplication - Application run failed +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.JDBCConnectionException: Unable to open JDBC Connection for DDL execution [Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.] [n/a] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1773) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) + at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1231) + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) + at com.server.capple.CappleApplication.main(CappleApplication.java:27) +Caused by: jakarta.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution [Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.] [n/a] + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:421) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769) + ... 16 common frames omitted +Caused by: org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution [Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.] [n/a] + at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:100) + at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:58) + at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:108) + at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:94) + at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:74) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.getIsolatedConnection(GenerationTargetToDatabase.java:60) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:112) + at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:79) + at org.hibernate.tool.schema.internal.Helper.applySqlString(Helper.java:233) + at org.hibernate.tool.schema.internal.Helper.applySqlStrings(Helper.java:217) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.applyConstraintDropping(SchemaDropperImpl.java:470) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropConstraintsTablesSequences(SchemaDropperImpl.java:242) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:215) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:185) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:155) + at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:115) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:244) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) + at java.base/java.util.HashMap.forEach(HashMap.java:1429) + at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) + at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) + at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) + at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:315) + at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) + at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) + ... 20 common frames omitted +Caused by: org.postgresql.util.PSQLException: Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) + at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) + at org.postgresql.jdbc.PgConnection.(PgConnection.java:263) + at org.postgresql.Driver.makeConnection(Driver.java:443) + at org.postgresql.Driver.connect(Driver.java:297) + at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) + at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) + at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) + at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) + at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) + at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:100) + at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) + at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:428) + at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:46) + ... 43 common frames omitted +Caused by: java.net.ConnectException: Connection refused + at java.base/sun.nio.ch.Net.pollConnect(Native Method) + at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682) + at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:549) + at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592) + at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) + at java.base/java.net.Socket.connect(Socket.java:751) + at org.postgresql.core.PGStream.createSocket(PGStream.java:243) + at org.postgresql.core.PGStream.(PGStream.java:98) + at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) + at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) + ... 57 common frames omitted diff --git a/logs/qapple-info.log b/logs/qapple-info.log new file mode 100644 index 00000000..f1a58a66 --- /dev/null +++ b/logs/qapple-info.log @@ -0,0 +1,91 @@ +24-09-25 02:14:40.918  INFO --- [background-preinit] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final +24-09-25 02:14:40.935  INFO --- [main] com.server.capple.CappleApplication - Starting CappleApplication using Java 21.0.2 with PID 30238 (/Users/kyungsoolee/GitRepositories/Spring/Capple-Server/build/classes/java/main started by kyungsoolee in /Users/kyungsoolee/GitRepositories/Spring/Capple-Server) +24-09-25 02:14:40.936  INFO --- [main] com.server.capple.CappleApplication - No active profile set, falling back to 1 default profile: "local" +24-09-25 02:14:41.663  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-09-25 02:14:41.663  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. +24-09-25 02:14:41.748  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 82 ms. Found 15 JPA repository interfaces. +24-09-25 02:14:41.757  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-09-25 02:14:41.757  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.answer.repository.AnswerRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.answerComment.repository.AnswerCommentRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.board.repository.BoardHeartRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.board.repository.BoardRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardComment.repository.BoardCommentHeartRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardComment.repository.BoardCommentRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardCommentReport.repository.BoardCommentReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.768  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardReport.repository.BoardReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardSubscribeMember.reposiotry.BoardSubscribeMemberRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.member.repository.MemberRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.notifiaction.repository.NotificationRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.question.repository.AdminQuestionRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.question.repository.QuestionRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.report.repository.ReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.tag.repository.TagRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:41.769  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +24-09-25 02:14:41.871  INFO --- [main] org.springframework.cloud.context.scope.GenericScope - BeanFactory id=682561b9-3f25-3a8a-a961-44a4616b5de7 +24-09-25 02:14:42.191  INFO --- [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port 8080 (http) +24-09-25 02:14:42.196  INFO --- [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +24-09-25 02:14:42.197  INFO --- [main] org.apache.catalina.core.StandardService - Starting service [Tomcat] +24-09-25 02:14:42.197  INFO --- [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.18] +24-09-25 02:14:42.224  INFO --- [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +24-09-25 02:14:42.224  INFO --- [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1191 ms +24-09-25 02:14:42.394  INFO --- [main] org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default] +24-09-25 02:14:42.424  INFO --- [main] org.hibernate.Version - HHH000412: Hibernate ORM core version 6.4.1.Final +24-09-25 02:14:42.444  INFO --- [main] org.hibernate.cache.internal.RegionFactoryInitiator - HHH000026: Second-level cache disabled +24-09-25 02:14:42.558  INFO --- [main] org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer +24-09-25 02:14:42.571  INFO --- [main] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +24-09-25 02:14:44.248  INFO --- [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +24-09-25 02:14:44.254  INFO --- [main] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +24-09-25 02:14:45.271  INFO --- [main] org.apache.catalina.core.StandardService - Stopping service [Tomcat] +24-09-25 02:14:45.285  INFO --- [main] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger - + +Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. +24-09-25 02:14:56.863  INFO --- [background-preinit] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final +24-09-25 02:14:56.880  INFO --- [main] com.server.capple.CappleApplication - Starting CappleApplication using Java 21.0.2 with PID 30304 (/Users/kyungsoolee/GitRepositories/Spring/Capple-Server/build/classes/java/main started by kyungsoolee in /Users/kyungsoolee/GitRepositories/Spring/Capple-Server) +24-09-25 02:14:56.880  INFO --- [main] com.server.capple.CappleApplication - No active profile set, falling back to 1 default profile: "local" +24-09-25 02:14:57.607  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-09-25 02:14:57.608  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. +24-09-25 02:14:57.694  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 82 ms. Found 15 JPA repository interfaces. +24-09-25 02:14:57.702  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-09-25 02:14:57.703  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-09-25 02:14:57.713  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.answer.repository.AnswerRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.713  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.answerComment.repository.AnswerCommentRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.713  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.board.repository.BoardHeartRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.board.repository.BoardRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardComment.repository.BoardCommentHeartRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardComment.repository.BoardCommentRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardCommentReport.repository.BoardCommentReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardReport.repository.BoardReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.boardSubscribeMember.reposiotry.BoardSubscribeMemberRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.member.repository.MemberRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.notifiaction.repository.NotificationRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.question.repository.AdminQuestionRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.question.repository.QuestionRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.report.repository.ReportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.server.capple.domain.tag.repository.TagRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository +24-09-25 02:14:57.714  INFO --- [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +24-09-25 02:14:57.823  INFO --- [main] org.springframework.cloud.context.scope.GenericScope - BeanFactory id=682561b9-3f25-3a8a-a961-44a4616b5de7 +24-09-25 02:14:58.147  INFO --- [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port 8080 (http) +24-09-25 02:14:58.152  INFO --- [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] +24-09-25 02:14:58.152  INFO --- [main] org.apache.catalina.core.StandardService - Starting service [Tomcat] +24-09-25 02:14:58.153  INFO --- [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.18] +24-09-25 02:14:58.179  INFO --- [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext +24-09-25 02:14:58.179  INFO --- [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1196 ms +24-09-25 02:14:58.411  INFO --- [main] org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default] +24-09-25 02:14:58.439  INFO --- [main] org.hibernate.Version - HHH000412: Hibernate ORM core version 6.4.1.Final +24-09-25 02:14:58.455  INFO --- [main] org.hibernate.cache.internal.RegionFactoryInitiator - HHH000026: Second-level cache disabled +24-09-25 02:14:58.563  INFO --- [main] org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer +24-09-25 02:14:58.575  INFO --- [main] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +24-09-25 02:14:58.697  INFO --- [main] com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@22f0e329 +24-09-25 02:14:58.698  INFO --- [main] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. +24-09-25 02:14:59.242  INFO --- [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +24-09-25 02:14:59.375  INFO --- [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' +24-09-25 02:14:59.601  INFO --- [main] org.springframework.data.jpa.repository.query.QueryEnhancerFactory - Hibernate is in classpath; If applicable, HQL parser will be used. +24-09-25 02:15:02.572  INFO --- [main] org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver - Exposing 16 endpoint(s) beneath base path '/actuator' +24-09-25 02:15:02.995  INFO --- [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"] +24-09-25 02:15:03.003  INFO --- [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port 8080 (http) with context path '' +24-09-25 02:15:03.020  INFO --- [main] com.server.capple.CappleApplication - Started CappleApplication in 6.384 seconds (process running for 6.798) +24-09-25 02:15:03.577  INFO --- [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-09-25 02:15:03.577  INFO --- [RMI TCP Connection(2)-127.0.0.1] org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet' +24-09-25 02:15:03.579  INFO --- [RMI TCP Connection(2)-127.0.0.1] org.springframework.web.servlet.DispatcherServlet - Completed initialization in 1 ms +24-09-25 02:15:09.622  INFO --- [http-nio-8080-exec-9] org.springdoc.api.AbstractOpenApiResource - Init duration for springdoc-openapi is: 327 ms diff --git a/logs/qapple-trace.log b/logs/qapple-trace.log new file mode 100644 index 00000000..e69de29b diff --git a/logs/qapple-warn.log b/logs/qapple-warn.log new file mode 100644 index 00000000..8c934ac7 --- /dev/null +++ b/logs/qapple-warn.log @@ -0,0 +1,48 @@ +24-09-25 02:14:43.602  WARN --- [main] org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator - HHH000342: Could not obtain connection to query metadata +java.lang.NullPointerException: Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null + at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:116) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107) + at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) + at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:129) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238) + at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215) + at org.hibernate.boot.model.relational.Database.(Database.java:45) + at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:223) + at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.(InFlightMetadataCollectorImpl.java:191) + at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:170) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1432) + at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1503) + at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:376) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) + at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) + at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:352) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) + at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) + at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1231) + at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:949) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) + at com.server.capple.CappleApplication.main(CappleApplication.java:27) +24-09-25 02:14:43.629  WARN --- [main] org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) +24-09-25 02:14:45.262  WARN --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: 08001 +24-09-25 02:14:45.270  WARN --- [main] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: 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.JDBCConnectionException: Unable to open JDBC Connection for DDL execution [Connection to localhost:54345 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.] [n/a] +24-09-25 02:14:58.724  WARN --- [main] org.hibernate.orm.deprecation - HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) +24-09-25 02:14:59.288  WARN --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Warning Code: 0, SQLState: 00000 +24-09-25 02:14:59.288  WARN --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - constraint "fkre6o6v6wcqjtrtgs12b7f4uuf" of relation "notification" does not exist, skipping +24-09-25 02:14:59.304  WARN --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Warning Code: 0, SQLState: 00000 +24-09-25 02:14:59.304  WARN --- [main] org.hibernate.engine.jdbc.spi.SqlExceptionHelper - table "notification_log" does not exist, skipping +24-09-25 02:15:01.396  WARN --- [main] org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning diff --git a/src/main/java/com/server/capple/domain/board/dto/BoardResponse.java b/src/main/java/com/server/capple/domain/board/dto/BoardResponse.java index dc3f38c5..7193957a 100644 --- a/src/main/java/com/server/capple/domain/board/dto/BoardResponse.java +++ b/src/main/java/com/server/capple/domain/board/dto/BoardResponse.java @@ -21,6 +21,7 @@ public static class BoardId { public static class BoardInfo { private Long boardId; private Long writerId; + private String writerNickname; private String content; private Integer heartCount; private Integer commentCount; diff --git a/src/main/java/com/server/capple/domain/board/mapper/BoardMapper.java b/src/main/java/com/server/capple/domain/board/mapper/BoardMapper.java index 7ee43ce8..42dd52c8 100644 --- a/src/main/java/com/server/capple/domain/board/mapper/BoardMapper.java +++ b/src/main/java/com/server/capple/domain/board/mapper/BoardMapper.java @@ -25,6 +25,7 @@ public BoardInfo toBoardInfo(Board board, Integer boardHeartsCount, Boolean isLi return BoardInfo.builder() .boardId(board.getId()) .writerId(board.getWriter().getId()) + .writerNickname(board.getWriter().getNickname()) .content(board.getContent()) .heartCount(boardHeartsCount) .commentCount(board.getCommentCount()) @@ -40,6 +41,7 @@ public BoardInfo toBoardInfo(Board board, Boolean isLiked, Boolean isMine) { return BoardInfo.builder() .boardId(board.getId()) .writerId(board.getWriter().getId()) + .writerNickname(board.getWriter().getNickname()) .content(board.getContent()) .heartCount(board.getHeartCount()) .commentCount(board.getCommentCount())