{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/spark-redshift/issues/103","labels_url":"https://api.github.com/repos/databricks/spark-redshift/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-redshift/issues/103/comments","events_url":"https://api.github.com/repos/databricks/spark-redshift/issues/103/events","html_url":"https://github.com/databricks/spark-redshift/issues/103","id":109667549,"number":103,"title":"problem reading data from redshift","user":{"login":"nirby82","id":10614821,"avatar_url":"https://avatars.githubusercontent.com/u/10614821?v=3","gravatar_id":"","url":"https://api.github.com/users/nirby82","html_url":"https://github.com/nirby82","followers_url":"https://api.github.com/users/nirby82/followers","following_url":"https://api.github.com/users/nirby82/following{/other_user}","gists_url":"https://api.github.com/users/nirby82/gists{/gist_id}","starred_url":"https://api.github.com/users/nirby82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirby82/subscriptions","organizations_url":"https://api.github.com/users/nirby82/orgs","repos_url":"https://api.github.com/users/nirby82/repos","events_url":"https://api.github.com/users/nirby82/events{/privacy}","received_events_url":"https://api.github.com/users/nirby82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T07:16:49Z","updated_at":"2015-10-04T18:39:16Z","closed_at":null,"body":"I am building a spark project using scala in Intellij. I have added the following dependencies:\r\n\r\nspark-redshift_2.10-0.5.1-SNAPSHOT\r\nRedshiftJDBC41-1.1.7.1007\r\nhttpcore-4.4.3\r\nhttpclient-4.5.1 \r\naws-java-sdk-s3-1.10.23-SNAPSHOT\r\naws-java-sdk-core-1.10.23-SNAPSHOT\r\n\r\nI am recieving the following error: java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.ServiceUtils\r\n\r\nwhere running \r\nval df = sqlContext.read.foramat(\"com.databricks.spark.redshift\")\r\n.option(\"url\", \"jdbc:redshift://AWS_SERVER:5439/warehouse?user=USER&password=PWD\")\r\n      .option(\"dbtable\", \"fact_time\")\r\n      .option(\"tempdir\", \"s3n://bucket/path\")\r\n      .load()\r\n\r\n    df.show()"},"comment":{"url":"https://api.github.com/repos/databricks/spark-redshift/issues/comments/145372062","html_url":"https://github.com/databricks/spark-redshift/issues/103#issuecomment-145372062","issue_url":"https://api.github.com/repos/databricks/spark-redshift/issues/103","id":145372062,"user":{"login":"JoshRosen","id":50748,"avatar_url":"https://avatars.githubusercontent.com/u/50748?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshRosen","html_url":"https://github.com/JoshRosen","followers_url":"https://api.github.com/users/JoshRosen/followers","following_url":"https://api.github.com/users/JoshRosen/following{/other_user}","gists_url":"https://api.github.com/users/JoshRosen/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshRosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshRosen/subscriptions","organizations_url":"https://api.github.com/users/JoshRosen/orgs","repos_url":"https://api.github.com/users/JoshRosen/repos","events_url":"https://api.github.com/users/JoshRosen/events{/privacy}","received_events_url":"https://api.github.com/users/JoshRosen/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T18:39:16Z","updated_at":"2015-10-04T18:39:16Z","body":"Hi @nirby82, is there more of the stack trace that you could post?"}}