---
title: "Exception in thread \"main\" java.lang.NoSuchFieldError: INSTANCE"
author: "vincenta"
date: "2017-03-06T20:54:30Z"
tags: []
categories: ["编程语言"]
slug: "exception-in-thread-main-java-lang-nosuchfielderror-instance"
draft: false
lastmod: "2017-03-06T20:54:30Z"
id: 2360595
url: "https://vincenta.iteye.com/blog/2360595"
---

**Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE**

 

此原因是由於httpclient & httpcore 版本過低(&lt;4.3)

 

Solution :

   替換hadoop\_home folder 下面所有httpclient & httpcore.jar 為大於4.3. (保守起見，把sqoop , hive ,hbase ,spark 下對應的包也檢查替換一下。)