Hi Xingcan,

 

I have included the below portion in my pom.xml. Still the same error is
coming.

 

</dependency>

<dependency>

   <groupId>org.apache.flink</groupId>

   <artifactId>flink-streaming-scala_2.11</artifactId>

   <version>1.4.0</version>

</dependency>

 

Regards,

Nagananda M

 

From: Xingcan Cui [mailto:xingc...@gmail.com] 
Sent: Monday, March 05, 2018 1:01 PM
To: Nagananda M
Cc: user@flink.apache.org
Subject: Re: Table API Compilation Error in Flink

 

Hi Nagananda,

 

adding `flink-streaming-scala_${scala version}` to your maven dependency
would solve this.

 

Best,

Xingcan

 

 





On 5 Mar 2018, at 2:21 PM, Nagananda M <naganand...@tayana.in> wrote:

 

Hi All,

Am trying to compile a sample program in apache flink using TableEnvironment
and facing some issue in compilation for the addition of the below line.

"StreamTableEnvironment tableEnv =
StreamTableEnvironment.getTableEnvironment(env);"

The error is as below

"cannot access org.apache.flink.api.scala.ExecutionEnvironment"

Am compiling the code using maven. Can anyone help on this.

Cheers,

Nagananda M

 


 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient> 

Virus-free.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai
gn=sig-email&utm_content=emailclient> www.avast.com

 



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to