spring boot unconditional classes

2020. 12. 11. 09:24· 개발
목차
  1. 상황
  2.  
  3. 처리내용
  4. References

상황

unconditional classes: 

~~~~~~~~~~~~~~~~~~~~~~~~~

   UserDetailsServiceAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.security.authentication.AuthenticationManager' (OnClassCondition)

   ValidationAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'javax.validation.executable.ExecutableValidator' (OnClassCondition)

   WebClientAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.web.reactive.function.client.WebClient' (OnClassCondition)

   WebFluxAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.web.reactive.config.WebFluxConfigurer' (OnClassCondition)

   WebMvcAutoConfiguration#hiddenHttpMethodFilter:
      Did not match:
         - @ConditionalOnProperty (spring.mvc.hiddenmethod.filter.enabled) did not find property 'enabled' (OnPropertyCondition)

   WebMvcAutoConfiguration.ResourceChainCustomizerConfiguration:
      Did not match:
         - @ConditionalOnEnabledResourceChain did not find class org.webjars.WebJarAssetLocator (OnEnabledResourceChainCondition)

   WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#beanNameViewResolver:
      Did not match:
         - @ConditionalOnMissingBean (types: org.springframework.web.servlet.view.BeanNameViewResolver; SearchStrategy: all) found beans of type 'org.springframework.web.servlet.view.BeanNameViewResolver' beanNameViewResolver (OnBeanCondition)

   WebServiceTemplateAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.oxm.Marshaller' (OnClassCondition)

   WebServicesAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.ws.transport.http.MessageDispatcherServlet' (OnClassCondition)

   WebSocketMessagingAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer' (OnClassCondition)

   WebSocketReactiveAutoConfiguration:
      Did not match:
         - @ConditionalOnWebApplication did not find reactive web application classes (OnWebApplicationCondition)

   WebSocketServletAutoConfiguration.JettyWebSocketConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer' (OnClassCondition)

   WebSocketServletAutoConfiguration.UndertowWebSocketConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'io.undertow.websockets.jsr.Bootstrap' (OnClassCondition)

   XADataSourceAutoConfiguration:
      Did not match:
         - @ConditionalOnClass did not find required class 'javax.transaction.TransactionManager' (OnClassCondition)


Exclusions:
-----------

    None


Unconditional classes:
----------------------

    org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration

    org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration

    org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration

    org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration

    org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration

이런 식으로 디버깅 시에 콘솔에 표시가 된다.

 

처리내용

@autoconfiguration 관련된 거라는데..(Ref 2., 3.) 지우려면 아래처럼 하면 된다고 한다.

logback.xml

<logger name="org.springframework.boot.autoconfigure.logging">
    <level value="INFO"/>
  </logger>

안나온다...

 

References

1. stackoverflow.com/questions/42983363/in-springboot-application-how-to-get-rid-of-the-auto-configuration-report-in-the

 

In springboot application how to get rid of the AUTO-CONFIGURATION REPORT in the logs

In my springboot application I get the below log generated when using orbitz consul client along with spring-consul. This log gets generated when executing a period task which uses orbitz's consul ...

stackoverflow.com

2. dveamer.github.io/backend/SpringBootAutoConfiguration.html

 

Dveamer

현실에서 살고 있지만 이상에 대한 꿈을 버리지 못한 몽상가의 홈페이지 입니다. 개인적인 기록을 주 목적으로 하며 일상과 프로그래밍 관련 글을 포스팅합니다.

dveamer.github.io

3. docs.spring.io/spring-boot/docs/2.4.0-M4/reference/html/using-spring-boot.html#using-boot-auto-configuration

 

Using Spring Boot

This section goes into more detail about how you should use Spring Boot. It covers topics such as build systems, auto-configuration, and how to run your applications. We also cover some Spring Boot best practices. Although there is nothing particularly spe

docs.spring.io

4. www.javadevjournal.com/spring-boot/how-spring-boot-auto-configuration-works/

 

How Spring Boot auto-configuration works

A detailed guide to the #SpringBoot #auto-configuration. Learn how Spring Boot auto-configuration works internally and use of the #@Conditional annotations.

www.javadevjournal.com

 

728x90
반응형

'개발' 카테고리의 다른 글

ios 시작  (0) 2021.03.24
AR Kit 다운로드  (0) 2021.02.26
vue.js range slider 사용하기  (0) 2020.12.08
vs code + spring boot + vue.js JRE, JDK 버전 다른 환경에서 오류  (0) 2020.11.26
vs code + spring boot + vue.js 설치 가이드 (4) - 부트스트랩  (0) 2020.11.19
  1. 상황
  2.  
  3. 처리내용
  4. References
'개발' 카테고리의 다른 글
  • ios 시작
  • AR Kit 다운로드
  • vue.js range slider 사용하기
  • vs code + spring boot + vue.js JRE, JDK 버전 다른 환경에서 오류
내공얌냠
내공얌냠
내공냠냠
내공얌냠
내공냠냠
내공얌냠
전체
오늘
어제
  • 분류 전체보기 (257)
    • 개발 (91)
      • mediapipe (16)
      • insightface (5)
      • JongjuAR (3)
    • 자료구조 알고리즘 (79)
      • 코딩테스트 (64)
      • 이론 (15)
    • 공부 (54)
      • 단행본 (8)
      • 튜토리얼 (19)
      • 논문 (15)
      • 복기 (5)
    • 참여 (5)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • 미디어파이프
  • claude cli 사용기
  • flutter 행사 후기
  • 플러터 튜토리얼
  • postgresql 재설치
  • flutter tutorial
  • flutter
  • mediapipe translate
  • 플러터
  • ios google places api
  • claude cli 사용방법
  • postgresql install in mac
  • 딥러닝 기반 음성인식 기초
  • claude cli 설치
  • mediapipe
  • 컴퓨터 비전 책 추천
  • 깃 튜토리얼
  • 음성인식 튜토리얼
  • 음성인식 기초
  • git tutorial
  • 머신러닝이란
  • vscode 스프링 설치
  • flutter 행사
  • 컴퓨터 비전
  • speaker adaptation tts
  • google mediapipe
  • 구글 미디어파이프
  • 컴퓨터 비전 기초
  • flutter conference
  • python telegrambot

최근 댓글

최근 글

hELLO · Designed By 정상우.v4.2.2
내공얌냠
spring boot unconditional classes
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.