You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to use kafka with Spring version 4.0.5 without Spring Boot. I have used lowest version for Kafka since Spring version is also old and upgrading Spring right now is not possible
Below are newly added Maven dependency
org.apache.kafka
kafka-streams
2.0.0
org.springframework.kafka
spring-kafka
1.0.0.RELEASE
I callkafkaTemplate.send(message)within a scheduled Quartz job and getting
ERROR JobRunShell - Job DEFAULT.jobAlertSenderTask threw an unhandled Exception: java.lang.NoClassDefFoundError: org/springframework/util/concurrent/SettableListenableFuture at org.springframework.kafka.core.KafkaTemplate.doSend(KafkaTemplate.java:194) ~[spring-kafka-1.0.0.RELEASE.jar:na] at org.springframework.kafka.core.KafkaTemplate.send(KafkaTemplate.java:145) ~[spring-kafka-1.0.0.RELEASE.jar:na] at com.myProject.alertSender.kafka.KafkaMessageSender.send(KafkaMessageSender.java:60) ~[classes/:na]
The text was updated successfully, but these errors were encountered:
NoClassDefFoundError means that Java can't find a needed class. Since this project doesn't use Java, your error is somewhere else in your project, and not with this repo. This is just a Dockerfile for using Postgres with libraries for some similarity metrics pre-installed.
0
I have tried to use kafka with Spring version 4.0.5 without Spring Boot. I have used lowest version for Kafka since Spring version is also old and upgrading Spring right now is not possible
Below are newly added Maven dependency
org.apache.kafka kafka-streams 2.0.0 org.springframework.kafka spring-kafka 1.0.0.RELEASE I callkafkaTemplate.send(message)within a scheduled Quartz job and gettingERROR JobRunShell - Job DEFAULT.jobAlertSenderTask threw an unhandled Exception: java.lang.NoClassDefFoundError: org/springframework/util/concurrent/SettableListenableFuture at org.springframework.kafka.core.KafkaTemplate.doSend(KafkaTemplate.java:194) ~[spring-kafka-1.0.0.RELEASE.jar:na] at org.springframework.kafka.core.KafkaTemplate.send(KafkaTemplate.java:145) ~[spring-kafka-1.0.0.RELEASE.jar:na] at com.myProject.alertSender.kafka.KafkaMessageSender.send(KafkaMessageSender.java:60) ~[classes/:na]
The text was updated successfully, but these errors were encountered: