databricks / reference-apps

Spark reference applications
Other
656 stars 342 forks source link

sbt/sbt weather/run [error] #63

Closed lamastex closed 9 years ago

lamastex commented 9 years ago

How can I get past this error? reference-apps/timeseries/scala$ sbt/sbt weather/run

[error] /home/wynrs1/software/spark/spark-1.3.0-bin-hadoop2.4/work/databricksSparkRef/reference-apps/timeseries/scala/timeseries-weather/src/main/scala/com/databricks/apps/WeatherClientApp.scala:18: object deploy is not a member of package com.sun [error] import com.sun.deploy.config.ConfigFactory

lamastex commented 9 years ago

The following fixed this error: Comment out line 18 in the file: reference-apps/timeseries/scala/timeseries-weather/src/main/scala/com/databricks/apps/WeatherClientApp.scala

as follows: //import com.sun.deploy.config.ConfigFactory

since configFactory already in line 24 as follows: import com.typesafe.config.ConfigFactory