Re: Scala class ExecutionContext not found on my Java + Flink project

2021-11-26 Thread Nicolaus Weidner
Hi Felipe, glad this helped and you found the problematic dependencies! Best, Nico On Fri, Nov 26, 2021 at 12:32 PM Felipe Gutierrez < felipe.o.gutier...@gmail.com> wrote: > hey Nico, you nailed it :tada: > > after doing "./mvnw dependency:tree | less" I saw scala 2.13 inside > spring-kafka-tes

Re: Scala class ExecutionContext not found on my Java + Flink project

2021-11-26 Thread Felipe Gutierrez
hey Nico, you nailed it :tada: after doing "./mvnw dependency:tree | less" I saw scala 2.13 inside spring-kafka-test. I excluded it and the error was gone. org.springframework.kafka spring-kafka-test com.fasterxml.jackson.module jacks

Re: Scala class ExecutionContext not found on my Java + Flink project

2021-11-26 Thread Nicolaus Weidner
Hi Felipe, can you check for Scala 2.13 dependencies on your classpath (parasitic was only introduced in Scala 2.13)? Not sure if that comes from Spring Boot 2.6 or something else. If you use Flink 1.13 or lower, it will just use whatever version is on the classpath, so you have to make sure that

Re: Scala class ExecutionContext not found on my Java + Flink project

2021-11-26 Thread Felipe Gutierrez
Hi Nico, yes, I did. I also run from the terminal "./mvnw clean verify -Pintegration-test" and I get the same error I also invalidated cache, deleted the ~/.m2/...flink dir. ~/.idea Imported to IntelliJ from scratch I am sure that the class is in "flink-runtime_2.12" dependency. When I start my

Re: Scala class ExecutionContext not found on my Java + Flink project

2021-11-26 Thread Nicolaus Weidner
Hi Felipe, just a quick question to make sure: did you do a full rebuild of your project after changing the Spring boot version? Best, Nico On Thu, Nov 25, 2021 at 8:01 PM Felipe Gutierrez < felipe.o.gutier...@gmail.com> wrote: > Hi community, > > I am using Flink 1.11 + Java 8 and I was updati

Scala class ExecutionContext not found on my Java + Flink project

2021-11-25 Thread Felipe Gutierrez
Hi community, I am using Flink 1.11 + Java 8 and I was updating my application from Spring boot 1 to spring boot 2.6. Then my Integration Test of Flink + Kafka started giving me this error: "java.lang.NoClassDefFoundError: scala/concurrent/ExecutionContext$parasitic$". The older version of spring