Christian Kadner created BAHIR-111:
--------------------------------------
Summary: IntelliJ reports compilation error for
flink-connector-netty
Key: BAHIR-111
URL: https://issues.apache.org/jira/browse/BAHIR-111
Project: Bahir
Issue Type: Bug
Components: Build, Flink Streaming Connectors
Environment: IntelliJ IDEA 2016.3.5
JRE: 1.8.0_112-release-408-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Maven 3.3.9
Scala 2.11.8
Reporter: Christian Kadner
Priority: Minor
In *IntelliJ*:
- _File > New > Project from Version Control > GitHub >_ Repo URL:
_"https://github.com/apache/bahir-flink.git"_
- in the pop-up in the right bottom corner that says *"Non-managed pom.xml file
found"*, click *"Add as Maven Project"*
- in _Project Settings > Project_:
-- _Project SDK_: Java 1.8
-- _Language Level_: 8 (Lambdas, type annotations etc)
- _Build > Build Project_
*Compile output:*
{code:Java}
Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1
warning in 4s 337ms
Warning:scalac: there was one feature warning; re-run with -feature for details
.../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
Error:Error:line (22)object table is not a member of package
org.apache.flink.api.scala
import org.apache.flink.api.scala.table._
Error:Error:line (23)object table is not a member of package
org.apache.flink.api
import org.apache.flink.api.table.TableEnvironment
Error:Error:line (45)not found: value TableEnvironment
val tEnv = TableEnvironment.getTableEnvironment(env)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)