Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11264

Fail to start scala shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.7.1
    • None
    • Scala Shell

    Description

      
      ➜ build-target git:(master) ✗ bin/start-scala-shell.sh local
      bin/start-scala-shell.sh: line 57: cd: ../bin/opt: No such file or directory
      Starting Flink Shell:
      log4j:WARN No appenders could be found for logger (org.apache.flink.configuration.GlobalConfiguration).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      
      Starting local Flink cluster (host: localhost, port: 8083).
      
      
      Connecting to Flink cluster (host: localhost, port: 8083).
      
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flink/table/api/TableEnvironment$
      at org.apache.flink.api.scala.FlinkILoop.<init>(FlinkILoop.scala:103)
      at org.apache.flink.api.scala.FlinkILoop.<init>(FlinkILoop.scala:57)
      at org.apache.flink.api.scala.FlinkShell$.liftedTree1$1(FlinkShell.scala:211)
      at org.apache.flink.api.scala.FlinkShell$.startShell(FlinkShell.scala:197)
      at org.apache.flink.api.scala.FlinkShell$.main(FlinkShell.scala:135)
      at org.apache.flink.api.scala.FlinkShell.main(FlinkShell.scala)
      Caused by: java.lang.ClassNotFoundException: org.apache.flink.table.api.TableEnvironment$
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 6 more

      Attachments

        Issue Links

          Activity

            People

              csq Shuiqiang Chen
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 10m
                  10m