# Upgrade to Elastic version 5.6.12 causes exception

**URL:** <https://discuss.elastic.co/t/upgrade-to-elastic-version-5-6-12-causes-exception/160409>\
**Category:** Elasticsearch\
**Created:** [December 11, 2018, 4:19pm UTC](https://discuss.elastic.co/t/upgrade-to-elastic-version-5-6-12-causes-exception/160409 "2018-12-11T16:19:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![trabakoulas](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@trabakoulas](https://discuss.elastic.co/u/trabakoulas)\
**Post date:** [December 13, 2018, 8:34am UTC](https://discuss.elastic.co/t/upgrade-to-elastic-version-5-6-12-causes-exception/160409/7 "2018-12-13T08:34:20Z")

</div>

Thanks for the answer.

Could you please let me know how to do it?

The only thing I do regarding the transport client dependency is to add the following in the pom.xml file:

"\< dependency\>  
\< groupId\>org.elasticsearch.client  
\< artifactId\>transport  
\< version\>5.6.12  
\< exclusions\>  
  
io.netty  
netty-all  
\< /exclusion\>  
\< /exclusions\>  
\< /dependency\>"

How can I exclude the netty3?

I have also found the folowing. Seems a similar issue:

> [@Netty dependency issue with ElasticSearch 5.4](https://discuss.elastic.co/t/netty-dependency-issue-with-elasticsearch-5-4/89120/5):
>
> This is not a problem, Netty 3 and Netty 4 use completely different package names so there is no possibility of conflict.

---

_[View the full topic](https://discuss.elastic.co/t/upgrade-to-elastic-version-5-6-12-causes-exception/160409)._
