Unable to install Elasticsearch plugins

We were upgradaded the elasticsearch version from 1.5.0 to 2.1.1.

Upgradation process went well, but facing issue with plugins, below are the steps I had followed.

Upgraded java version from 1.7.0 to 1.8.0

  1. rm -rf plugins/
  2. cd /usr/share/elasticsearch
    3)./bin/plugin install mobz/elasticsearch-head
    The above process was worked in other instance.

Getting below error
“Exception in thread "main" java.lang.NoSuchMethodError: org.elasticsearch.common.settings.Settings.builder()Lorg/elasticsearch/common/settings/Settings$Builder;

  • at org.elasticsearch.plugins.PluginManagerCliParser.main(PluginManagerCliParser.java:60)”

Is that the entire error?