# Error while loading RDDOperationScope, Missing dependency 'bad symbolic reference

**URL:** <https://discuss.elastic.co/t/error-while-loading-rddoperationscope-missing-dependency-bad-symbolic-reference/36935>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [December 11, 2015, 1:11am UTC](https://discuss.elastic.co/t/error-while-loading-rddoperationscope-missing-dependency-bad-symbolic-reference/36935 "2015-12-11T01:11:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyunam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kyunam/32/3576_2.png) [@kyunam](https://discuss.elastic.co/u/kyunam)\
**Post date:** [December 11, 2015, 1:11am UTC](https://discuss.elastic.co/t/error-while-loading-rddoperationscope-missing-dependency-bad-symbolic-reference/36935/1 "2015-12-11T01:11:38Z")

</div>

My POM has

- org.apache.spark.spark-core\_2.10. **1.5.1**
- org.elasticsearchsearch.elasticsearch-spark\_2.10. **2.1.0.Beta1**
- org.scalatest.scalatest\_2.10. **2.2.3**

If I try to use anything higher than elasticsearch-spark\_2.10. **2.1.0.Beta1** , I get the error in the below.

What are the right dependencies if I want to run:

- Apache Spark 1.5.1
- Elasticsearch 1.7.0
- on JDK 1.8.66

Thanks,  
Q

error while loading RDDOperationScope, Missing dependency 'bad symbolic reference. A signature in RDDOperationScope.class refers to term annotation

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [December 13, 2015, 11:50pm UTC](https://discuss.elastic.co/t/error-while-loading-rddoperationscope-missing-dependency-bad-symbolic-reference/36935/2 "2015-12-13T23:50:12Z")

</div>

Likely at runtime you are using a mixture of Scala 2.11 and libraries compiled for Scala 2.10. Double check that indeed, all the jars are compiled for the same scala version (note that ES-Spark comes with binaries for both 2.10 and 2.11).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:26pm UTC](https://discuss.elastic.co/t/error-while-loading-rddoperationscope-missing-dependency-bad-symbolic-reference/36935/3 "2017-07-06T13:26:56Z")

</div>


