# \[No handler for type \[geo\_shape\] declared on field \[mapped\_geo\_shape\]\] AbstractQueryTestCase

**URL:** <https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-abstractquerytestcase/156851>\
**Category:** Elasticsearch\
**Created:** [November 15, 2018, 12:09pm UTC](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-abstractquerytestcase/156851 "2018-11-15T12:09:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vgindin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vgindin/32/42012_2.png) [@vgindin](https://discuss.elastic.co/u/vgindin)\
**Post date:** [November 26, 2018, 5:48pm UTC](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-abstractquerytestcase/156851/3 "2018-11-26T17:48:57Z")

</div>

> [@No handler for type \[geo\_shape\] declared on field \[mapped\_geo\_shape\] in AbstractQueryTestCase](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-in-abstractquerytestcase/87189/2):
>
> Adding the jts and spatial4j dependencies did the trick for me: \<dependency\> \<groupId\>com.vividsolutions\</groupId\> \<artifactId\>jts\</artifactId\> \<version\>1.13\</version\> \<scope\>test\</scope\> \</dependency\> \<dependency\> \<groupId\>org.locationtech.spatial4j\</groupId\> \<artifactId\>spatial4j\</artifactId\> \<version\>0.6\</version\> \<scope\>test\</scope\> \</dependency\>

1.13 (jts)  
0.6 (spatial4j)

---

_[View the full topic](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-abstractquerytestcase/156851)._
