티스토리 뷰

지금 해결 못하고 있는 에러 물어보기

 
 
Resolve this issue.
Could not autowire. No beans of 'JobBuilderFactory' type found.
 
 

This error message indicates that the JobBuilderFactory class is not found in the application context. This can happen for several reasons, including:

  1. The required library or dependencies are missing in your project.
  2. The class is not correctly imported in your code.
  3. The class is not annotated with @Component, @Service, or @Repository.

To resolve this issue, you can try the following steps:

  1. Check if you have the required dependencies in your project and if they are correctly imported.
  2. Ensure that the JobBuilderFactory class is correctly imported in your code.
  3. Annotate the class with @Component, @Service, or @Repository.

If you still can't resolve the issue, please provide more information and code context, so I can assist you further.

 

 

 

허........ 그래그래 한번 보자.

 

1. 필요한 라이브러리, dependency는 선언되어 있음

dependencies {
    implementation("org.springframework.boot:spring-boot-starter-batch")
}

2. 클래스 임포트 제대로 잘 했어!

import org.springframework.batch.core.configuration.annotation.JobBuilderFactory

3. jar로 불러오는 클래스에서 내가 어노테이션을 어떻게 붙여요.....?

 

 

따로 배치는 수정한 사항도 없는데! 왜 에러가 나는거냔 말이다..... 🥲

하긴 서버도 알아서 내려간거니 뭐 할말은 없다만 ^^

배치 오늘 안에 해결해서 데이터 넣어야하는데 어쩌냐~~

 

 

삼행시 지어줘

 

 

꿈틀이 삼행시는 다음과 같이 지어질 수 있습니다:

 

꿈틀이가 언제나 행복하게 웃으며 걸어갑니다.

하늘을 높이 날아가며 구름을 타고 여행을 떠납니다.

꿈틀이는 새들과 함께 나무 위에서 노래를 부르며 즐겁게 시간을 보냅니다.

작은 동굴에서 맛있는 음식을 만들어 먹으며 친구들과 함께 즐겁게 시간을 보냅니다.

 

 

 

 

삼행시 지어달랬더니 누가 이런 힐링시 지어주래 나 눈물나(울컥)

 

 

 

 

 

 

반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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 31
글 보관함