Christian Kadner created BAHIR-111:

             Summary: IntelliJ reports compilation error for 
                 Key: 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: 
- 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:*
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
    Error:Error:line (22)object table is not a member of package 
import org.apache.flink.api.scala.table._
    Error:Error:line (23)object table is not a member of package 
import org.apache.flink.api.table.TableEnvironment
    Error:Error:line (45)not found: value TableEnvironment
    val tEnv = TableEnvironment.getTableEnvironment(env)

This message was sent by Atlassian JIRA

Reply via email to