Uploaded image for project: 'Bahir'
  1. Bahir
  2. BAHIR-111

IntelliJ reports compilation error for flink-connector-netty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Flink-1.0
    • None
    • Mac OS Sierra: 10.12.3 (16D32)
      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

    Description

      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:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              ckadner Christian Kadner
              ckadner Christian Kadner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h