Dominic Warzok created BEAM-12195:
-------------------------------------
Summary: Flink Runner 1.11 uses old Scala-Version
Key: BEAM-12195
URL: https://issues.apache.org/jira/browse/BEAM-12195
Project: Beam
Issue Type: Bug
Components: runner-flink
Affects Versions: 2.28.0
Reporter: Dominic Warzok
I updated my project to beam 2.28.0 and also updated spring-boot to
2.2.0.RELEASE
this seems to be a problem because Spring isn't using the scala dependency any
more.
But as my dependencies says spring-kafka-test is using scala 2.12.13.
This seems to be a problem in the testing envrionment. Because flink runner
gets compiled with scala 2.11.12. As I understand scala 2.11 isn't compatible
with scala 2.12.
Which leads to errors in the test environment.
Adding
{code:java}
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>26.0-jre</version>
</dependency>{code}
to my pom.xml seems to solve the problem so far.
But it would be nice if runner-flink could use scala 2.12 too.
I'm sorry if this issue isn't understandable. I'm not professional at working
with maven and I only can describe as far as I understand the problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)