From d9a23cf64bef7b5082c691c994dd5894ad2ed5b6 Mon Sep 17 00:00:00 2001 From: kimson Date: Mon, 8 Aug 2022 14:52:31 +0900 Subject: [PATCH] =?UTF-8?q?[BE][:wrench:=20FIX]:=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=BB=A8=EB=B2=A4=EC=85=98=20=EA=B4=80=EB=A0=A8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20[#112=20=EC=B0=B8=EC=A1=B0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 3 +++ src/main/frontend/src/pages/Home.tsx | 6 ++--- .../web/config/SecurityConfiguration.java | 12 +--------- .../java/com/narang/web/entity/Comment.java | 21 ++++++++++++++--- .../java/com/narang/web/entity/Diary.java | 22 ++++++++++++++---- src/main/java/com/narang/web/entity/User.java | 23 +++++++++++++++++-- .../repository/CommentRepositoryCustom.java | 2 +- .../CommentRepositoryCustomImpl.java | 4 ++-- .../web/repository/DiaryRepositoryCustom.java | 2 +- .../repository/DiaryRepositoryCustomImpl.java | 4 ++-- .../repository/EmotionRepositoryCustom.java | 2 -- .../EmotionRepositoryCustomImpl.java | 9 -------- .../web/repository/UserRepositoryCustom.java | 3 +++ .../repository/UserRepositoryCustomImpl.java | 14 ++++++++--- .../restController/CommentRestController.java | 3 +-- .../restController/DiaryRestController.java | 3 +-- .../restController/UserRestController.java | 5 ++-- .../narang/web/service/CommentService.java | 4 ++-- .../com/narang/web/service/DiaryService.java | 2 +- .../narang/web/service/EmotionService.java | 5 ---- .../com/narang/web/service/UserService.java | 4 ++-- 21 files changed, 93 insertions(+), 60 deletions(-) diff --git a/build.gradle b/build.gradle index c852fc9..cd30715 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,9 @@ repositories { } dependencies { + // https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 + implementation 'com.google.code.findbugs:jsr305:3.0.2' + // warning error 해결 방안 https://simple-ing.tistory.com/48 참조 // https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime // java 11 버전 이상은 에러 발생하기 때문에 추가 implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '4.0.0' diff --git a/src/main/frontend/src/pages/Home.tsx b/src/main/frontend/src/pages/Home.tsx index e924c82..cf65938 100644 --- a/src/main/frontend/src/pages/Home.tsx +++ b/src/main/frontend/src/pages/Home.tsx @@ -84,7 +84,7 @@ function Home() { - {!cookies.token && ( + {/* {!cookies.token && (