[Spring Boot] To display the conditions report re-run your application with 'debug' enabled

2021. 9. 2. 23:50·디버깅∕오류해결
728x90

👾 오류 메세지 👾 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

 

구글링 해 본 결과, 해결 방법으로는 두 가지가 나와있었다.

결과적으로, debug output 옵션 체크 후에도 해당 오류가 나왔던 걸 보면 로깅 레벨을 설정해야 하는 것 같다.

이래도 같은 오류가 또 나면 또 구글링 해봐야겠지만... 그렇게까지 치명적인 오류는 아니고 ((그냥 오류를 자세히 보려면 debug로 설정하는 도움말 같은것이라서)) 해결 안되어도 일단 go..!

 

 

🍃 application.properties 설정파일에 로깅 레벨 설정

logging.level.org.springframework=debug
logging.level.org.springframework.web=debug

 

Enable debug output

 

경로 : Run/Debug Configurations > Spring Boot > Application

(여기서 Application 이름은 각자 만드는 프로젝트가 다르므로 상이함)

 

Run/Debug Configurations 은 인텔리제이 오른쪽 상단에 망치 모양(빌드) 옆에 실행 중인 class 이름의 🔽화살표를 누르면 Edit Configurations... 를 눌러 화면을 열 수 있다.

 

위 경로에서 스크롤을 내리면 Spring Boot 설정에서

✅ Enable debug output 을 체크해주고 Apply , OK 

 

Run/Debug Configurations > Spring Boot > Application

 

 

 

728x90
저작자표시 비영리 동일조건 (새창열림)

'디버깅∕오류해결' 카테고리의 다른 글

[SQL script] Unterminated dollar quote $$ 오류 스프링 설정으로 해결하기  (1) 2021.09.14
[Spring Boot] org.springframework.beans.factory.BeanCreationException  (4) 2021.09.03
[JUnit 5] org.junit.platform.launcher.core.EngineDiscoveryOrchestrator  (0) 2021.09.02
[Spring Java] javax mail Could not convert socket to TLS  (14) 2021.05.26
[Oracle] BadSql / ORA-01427  (0) 2021.02.27
'디버깅∕오류해결' 카테고리의 다른 글
  • [SQL script] Unterminated dollar quote $$ 오류 스프링 설정으로 해결하기
  • [Spring Boot] org.springframework.beans.factory.BeanCreationException
  • [JUnit 5] org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
  • [Spring Java] javax mail Could not convert socket to TLS
heestory217
heestory217
Done is better than Perfect! 좌충우돌 개발일지💻
    250x250
  • heestory217
    Heello World
    heestory217
  • 전체
    오늘
    어제
    • 분류 전체보기 (120)
      • 컴퓨터일반 (0)
      • WEB (1)
      • JAVA (3)
      • Python (9)
      • C (1)
      • DataBase (17)
        • Oracle (2)
        • MySQL (9)
        • SAP HANA (4)
        • PostgreSQL (0)
      • 디버깅∕오류해결 (14)
      • 코딩테스트 (54)
        • 자료구조∕알고리즘 (3)
      • 정보처리기사 (10)
      • Git∕GitHub (7)
      • 기타 (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    정처기 실기 예상문제
    정처기 수제비
    treemap
    treeset
    leetcode
    코딩테스트
    Sort a HashMap in Java
    파이썬 포맷팅
    정처기 수제비 데일리 문제
    인텔리제이
    정처기 수제비 실기문제
    SAP HANA Studio
    Guava library
    HashMap
    hashmap sort
    MySQL
    IntelliJ
    정처기 실기
    프로그래머스 카카오
    배열 정렬하기
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
heestory217
[Spring Boot] To display the conditions report re-run your application with 'debug' enabled
상단으로

티스토리툴바