-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to locate scala.XML while adding 2.1.0.Beta3 version in dependency #374
Comments
Sorry, no. Better ask maven: |
Just looked into the dependencies - considering |
Thanks Costin for checking. It finds the scala.xml package class when 15/02/07 16:43:15 INFO Slf4jLogger: Slf4jLogger started On Sat, Feb 7, 2015 at 4:31 PM, Costin Leau notifications@github.com
Deepak Subhramanian |
I was able to resolve the ClassNotFoundException by adding this exclusion. 15/02/07 16:43:15 INFO Slf4jLogger: Slf4jLogger started On Sat, Feb 7, 2015 at 4:44 PM, Deepak Subhramanian <
Deepak Subhramanian |
@deepakas It looks like the issue is caused by using Spark compiled against Scala 2.11 while es-hadoop/spark relies on Spark compiled with Scala 2.10 (that's what the official release anyway). Closing this issue. P.S. By the way, if you use only the spark module, you can also opt for elasticsearch-spark module instead. |
Hi Costin, Thank you very much for the clarification and suggestion. I will use the Thanks, Deepak On Mon, Feb 9, 2015 at 6:27 PM, Costin Leau notifications@github.com
Deepak Subhramanian |
I was able to process XML in spark using scala.xml.XML class. For some reason once I add the elasticsearch-hadoop version 2.1.0.Beta3 in mvn as a dependency it is not able to recognize the scala.xml class in the project. Any thoughts ?
Error:(2, 14) object xml is not a member of package scala
import scala.xml.XML
^
The text was updated successfully, but these errors were encountered: