Jeff Zhang created FLINK-11264:
----------------------------------
Summary: Fail to start scala shell
Key: FLINK-11264
URL:
https://issues.apache.org/jira/browse/FLINK-11264 Project: Flink
Issue Type: Bug
Reporter: Jeff Zhang
{code:java}
➜ 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{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)