[ 
https://issues.apache.org/jira/browse/SPARK-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306714#comment-14306714
 ] 

Nathan McCarthy commented on SPARK-5557:
----------------------------------------

Any ideas on what needs to be done to fix this? 

> spark-shell failed to start
> ---------------------------
>
>                 Key: SPARK-5557
>                 URL: https://issues.apache.org/jira/browse/SPARK-5557
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.3.0
>            Reporter: Guoqiang Li
>            Priority: Blocker
>
> the log:
> {noformat}
> 5/02/03 19:06:39 INFO spark.HttpServer: Starting HTTP Server
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> javax/servlet/http/HttpServletResponse
>       at 
> org.apache.spark.HttpServer.org$apache$spark$HttpServer$$doStart(HttpServer.scala:75)
>       at org.apache.spark.HttpServer$$anonfun$1.apply(HttpServer.scala:62)
>       at org.apache.spark.HttpServer$$anonfun$1.apply(HttpServer.scala:62)
>       at 
> org.apache.spark.util.Utils$$anonfun$startServiceOnPort$1.apply$mcVI$sp(Utils.scala:1774)
>       at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
>       at org.apache.spark.util.Utils$.startServiceOnPort(Utils.scala:1765)
>       at org.apache.spark.HttpServer.start(HttpServer.scala:62)
>       at org.apache.spark.repl.SparkIMain.<init>(SparkIMain.scala:130)
>       at 
> org.apache.spark.repl.SparkILoop$SparkILoopInterpreter.<init>(SparkILoop.scala:185)
>       at 
> org.apache.spark.repl.SparkILoop.createInterpreter(SparkILoop.scala:214)
>       at 
> org.apache.spark.repl.SparkILoop$$anonfun$org$apache$spark$repl$SparkILoop$$process$1.apply$mcZ$sp(SparkILoop.scala:946)
>       at 
> org.apache.spark.repl.SparkILoop$$anonfun$org$apache$spark$repl$SparkILoop$$process$1.apply(SparkILoop.scala:942)
>       at 
> org.apache.spark.repl.SparkILoop$$anonfun$org$apache$spark$repl$SparkILoop$$process$1.apply(SparkILoop.scala:942)
>       at 
> scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:135)
>       at 
> org.apache.spark.repl.SparkILoop.org$apache$spark$repl$SparkILoop$$process(SparkILoop.scala:942)
>       at org.apache.spark.repl.SparkILoop.process(SparkILoop.scala:1039)
>       at org.apache.spark.repl.Main$.main(Main.scala:31)
>       at org.apache.spark.repl.Main.main(Main.scala)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:403)
>       at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:77)
>       at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> Caused by: java.lang.ClassNotFoundException: 
> javax.servlet.http.HttpServletResponse
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>       ... 25 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to