본문 바로가기 메뉴 바로가기

곰돌코더

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

곰돌코더

검색하기 폼
  • 분류 전체보기 (8)
    • Backend (1)
      • Intellij (0)
      • Trouble Shooting (1)
      • Cache Strategy (0)
      • Redis (0)
    • CS(ComputerScience) (2)
    • Algorithm (1)
      • Codeforce (1)
    • 기타 (2)
      • Life (1)
  • 방명록

Backend (1)
[Spring] registering bean by private method

Configruation class에 Bean을 등록하는 함수를 private으로 지정했다. 그랬더니 아래 에러가 발생했다. Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: @Bean method 'discountPolicy' must not be private or final; change the method's modifiers to continue Offending resource: hello.core.AppConfig at org.springframework.beans.factory.parsing.FailFastProblemR..

Backend/Trouble Shooting 2020. 11. 12. 22:12
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • computer science
  • 건강
  • java
  • Insertion Sort
  • 개발자
  • 컴퓨터구조
  • 운영체제
  • synchronized
  • math
  • divide and conquer
  • Cache coherence
  • Quick Sort
  • locality of reference
  • JVM
  • 운동
  • codeforce
  • Thread-safe
more
«   2025/11   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바