java.lang.ClassNotFoundException: Failed to find data source: /Users/ArcherMacPro/coding/bigData/resources/books.xml. Please find packages at http://spark-packages.org

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by archerbj
, 1 year ago
Failed to find data source: /Users/ArcherMacPro/coding/bigData/resources/books.xml. Please find packages at http://spark-packages.org
via GitHub by yogeshdarji99
, 1 year ago
Failed to find data source: org.elasticsearch.spark.sql. Please find packages at http://spark-packages.org
via GitHub by Rocknpools
, 1 year ago
Failed to load class for data source: org.apache.spark.sql.xml.
via Stack Overflow by harpreet kaur
, 3 months ago
Failed to find data source: com.vertica.spark.datasource.DefaultSource. Please find packages at http://spark-packages.org
via GitHub by krishnat3
, 1 year ago
Failed to find data source: com.databricks.spark.csv. Please find packages at http://spark-packages.org
via Stack Overflow by mahima
, 1 year ago
Failed to find data source: com.databricks.spark.csv. Please find packages at http://spark-packages.org
java.lang.ClassNotFoundException: Failed to find data source: /Users/ArcherMacPro/coding/bigData/resources/books.xml. Please find packages at http://spark-packages.org
at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.lookupDataSource(ResolvedDataSource.scala:77)
at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:102)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:119)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:109)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:29)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:34)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:36)
at undefined.$iwC$$iwC$$iwC$$iwC$$iwC.(:38)
at undefined.$iwC$$iwC$$iwC$$iwC.(:40)
at undefined.$iwC$$iwC$$iwC.(:42)
at undefined.$iwC$$iwC.(:44)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.