Hỏi & Đáp
안녕하세요!! connector 실행시 오류가 생겨 질문 드립니다.
윈도우10, Open JDK8 버전 환경에서 confluent-community-6.1.0.tar,gz 파일로 Kafka Connect 실습 중에 저도 동일한 문제가 발생했고 해결한 내용 정리해 보았습니다 참고하세요~ Could not find or load main class org.apache.kafka.connect.cli.ConnectDistributed kafka-run-class.bat 파일에 아래 내용 추가 rem Classpath addition for LSB style path if exist %BASE_DIR%\share\java\kafka\* ( call :concat %BASE_DIR%\share\java\kafka\* ) log4j:ERROR Could not read configuration file from URL connect-distributed.bat 파일에서 connect-log4j.properties 경로 수정 rem Log4j settings IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/etc/kafka/connect-log4j.properties ) org.reflections.ReflectionsException: could not get type for name kotlin.jvm.internal.FunctionReference 다양하게 해결해 보려고 노력했지만 결국 최신 버전 파일( confluent-community-7.2.0.tar.gz)을 사용하여 해결했습니다.
- Lượt thích
- 1
- Số bình luận
- 2
- Lượt xem
- 1083

