Seemingly Online
close
프로필 배경
프로필 로고

Seemingly Online

  • 카테고리 (571)
    • Language (250)
      • 알고리즘 (100)
      • Java (144)
      • python (2)
      • Kotlin (4)
    • WEB (141)
      • Spring (24)
      • Spring Security (3)
      • Next.js (3)
      • TypeScript (3)
      • JavaScript (45)
      • jQuery (7)
      • CSS (25)
      • XML (3)
      • Maven (1)
      • Gradle (1)
      • JSP (1)
      • Thymeleaf (10)
      • HTML (11)
      • MyBatis (1)
      • JPA (3)
    • App (45)
      • Flutter (34)
      • Dart (4)
      • Android (2)
      • IOS (3)
      • Firebase (2)
    • Git (6)
      • GitHub (6)
    • AWS (15)
      • SCT (2)
      • Amazon Aurora (1)
      • S3 (2)
      • EventBridge (1)
      • EC2 (7)
      • EFS (1)
    • DataBase (44)
      • MySQL (19)
      • Oracle SQL (19)
      • Postgre-SQL (6)
    • OS (33)
      • Linux (27)
      • Windows (1)
      • Mac (5)
    • Tool (15)
      • DocKer (6)
      • Intellij (7)
      • VScode (2)
    • IT (17)
      • Developer-etc (13)
      • 개발상식 (4)
    • CodePen (2)
      • 캐러셀 (2)
  • 홈
  • 방명록
[Java] 중첩된 구조의 JSON 데이터를 DTO 맵핑 방법

[Java] 중첩된 구조의 JSON 데이터를 DTO 맵핑 방법

2023-05-09 1. 방법 사용 라이브러리 : Jackson: https://github.com/FasterXML/jackson GitHub - FasterXML/jackson: Main Portal page for the Jackson project Main Portal page for the Jackson project. Contribute to FasterXML/jackson development by creating an account on GitHub. github.com // https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind implementation group: 'com.fasterxml.jacks..

  • format_list_bulleted Language/Java
  • · 2023. 5. 9.
  • textsms
[Java] DTO to Json 시 null값 제외시키는 방법

[Java] DTO to Json 시 null값 제외시키는 방법

2023-05-08 1. 방법 라이브러리 정보를 추가한다. /* 메이븐 */ com.fasterxml.jackson.core jackson-databind 2.12.3 /* 그레이들 */ dependencies { implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3' } @JsonInclude 어노테이션을 import 합니다. import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude 어노테이션을 DTO 클래스에 추가합니다. @JsonInclude(JsonInclude.Include.NON_NULL) public class MyDTO { private String name; pr..

  • format_list_bulleted Language/Java
  • · 2023. 5. 8.
  • textsms
[Spring] Kotiln + Spring 에서 AOP 적용 시 Caused by: java.lang.IllegalArgumentException: Cannot subclass final class 이슈 해결

[Spring] Kotiln + Spring 에서 AOP 적용 시 Caused by: java.lang.IllegalArgumentException: Cannot subclass final class 이슈 해결

2023-05-07 1. 이슈 토이 프로젝트에서 AOP 적용 중 Caused by: java.lang.IllegalArgumentException: Cannot subclass final class . . . 와 같은 에러가 발생했다. 기존에 java 클래스 파일에서는 문제가 없으나 Kotiln 클래스 파일은 모두 에러가 발생했다. 해당 에러는 표시된 것과 같이 Final Class의 경우 AOP가 CGLIB(Code Generator Library)를 이용해 런타임에 동적으로 자바 클래스에 따른 프록시를 생성해주지 못하기 때문이다. 즉 Kotiln 클래스 파일의 경우 default로 final 키워드가 선언되기 때문에, 동적 생성이 불가해서 생기는 이슈인 것으로 확인 되었다. 그렇다면 아래와 같이 지금..

  • format_list_bulleted WEB/Spring
  • · 2023. 5. 7.
  • textsms
[Java] ConcurrentModificationException 예외 처리 및 원인

[Java] ConcurrentModificationException 예외 처리 및 원인

2023-04-28 1. 원인 This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. 이 예외는 객체의 동시 수정이 허용되지 않을 때 객체의 동시 수정을 탐지한 방법에 의해 발생할 수 있습니다. For example, it is not generally permissible for one thread to modify a Collection while another thread is iterating over it. In general, the results of the iteration are undefined ..

  • format_list_bulleted Language/Java
  • · 2023. 4. 28.
  • textsms
[Spring] JUnit4 에서 테스트 순서 지정하는 방법

[Spring] JUnit4 에서 테스트 순서 지정하는 방법

2023-04-17 1. 방법 JUnit은 독립된 환경에서의 테스트를 지원하기 때문에 테스트의 순서가 보장되지 않는다. 때문에 동일한 객체 참조가 있을 경우에는 테스트 케이스들의 순서를 보장해주어야 하는 경우가 있는데, 아래의 예제를 보자. import org.junit.FixMethodOrder; import org.junit.Test; public class TestCase1 { static int number1 = 0; @Test public void a1_test(){ number1 += 1; System.out.println("test1 =================================" + number1); } @Test public void a2_test(){ number1 += ..

  • format_list_bulleted WEB/Spring
  • · 2023. 4. 17.
  • textsms
[Next.js] useEffect 와 getServersideprops 의 차이점

[Next.js] useEffect 와 getServersideprops 의 차이점

2023-04-13 1. useEffect 리액트를 기존에 사용해봤으면 해당 함수가 어떠한 기능을 수행하는지 알 수 있을 것이다. 해당 함수를 첫번째 매개 값으로는 수행할 함수를 받으며, 두번째 매개 값으로는 배열을 받는데 해당 배열에 있는 값이 변경될 경우에 첫번째의 있는 함수가 실행되게 된다. 여기서 useEffect의 비교 대상은 getServersideprops 이기 때문에 첫번째 매개 변수는 fetch 형태로 백엔드 서버에서 데이터를 가져오는 함수라고 가정해보자. import React, { useState, useEffect } from 'react'; function MyComponent() { const [data, setData] = useState(null); useEffect(() =..

  • format_list_bulleted WEB/Next.js
  • · 2023. 4. 13.
  • textsms
  • navigate_before
  • 1
  • ···
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • ···
  • 96
  • navigate_next
공지사항
전체 카테고리
  • 카테고리 (571)
    • Language (250)
      • 알고리즘 (100)
      • Java (144)
      • python (2)
      • Kotlin (4)
    • WEB (141)
      • Spring (24)
      • Spring Security (3)
      • Next.js (3)
      • TypeScript (3)
      • JavaScript (45)
      • jQuery (7)
      • CSS (25)
      • XML (3)
      • Maven (1)
      • Gradle (1)
      • JSP (1)
      • Thymeleaf (10)
      • HTML (11)
      • MyBatis (1)
      • JPA (3)
    • App (45)
      • Flutter (34)
      • Dart (4)
      • Android (2)
      • IOS (3)
      • Firebase (2)
    • Git (6)
      • GitHub (6)
    • AWS (15)
      • SCT (2)
      • Amazon Aurora (1)
      • S3 (2)
      • EventBridge (1)
      • EC2 (7)
      • EFS (1)
    • DataBase (44)
      • MySQL (19)
      • Oracle SQL (19)
      • Postgre-SQL (6)
    • OS (33)
      • Linux (27)
      • Windows (1)
      • Mac (5)
    • Tool (15)
      • DocKer (6)
      • Intellij (7)
      • VScode (2)
    • IT (17)
      • Developer-etc (13)
      • 개발상식 (4)
    • CodePen (2)
      • 캐러셀 (2)
최근 글
인기 글
최근 댓글
태그
  • #backjoon
  • #백준알고리즘
  • #자바알고리즘
  • #자바기초
  • #자바
  • #BOJ
  • #Java8
  • #자바공부
  • #백준
  • #Java
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바