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

**URL:** <https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-in-abstractquerytestcase/87189>\
**Category:** Elasticsearch\
**Created:** [May 25, 2017, 11:13pm UTC](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-in-abstractquerytestcase/87189 "2017-05-25T23:13:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![renekrie](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@renekrie](https://discuss.elastic.co/u/renekrie)\
**Post date:** [June 4, 2017, 10:08pm UTC](https://discuss.elastic.co/t/no-handler-for-type-geo-shape-declared-on-field-mapped-geo-shape-in-abstractquerytestcase/87189/2 "2017-06-04T22:08:38Z")

</div>

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>
```

---

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