Multi Version Picker type custom field development

Hi

I’m trying to develop custom field of Multi version pecker type. We’ve requirement to show this field to specific user only. I’m following Atlassian doc https://developer.atlassian.com/server/jira/platform/custom-field/. As per doc I’m extending com.atlassian.jira.issue.customfields.impl.VersionCFType class for custom field type and using existing searcher com.atlassian.jira.issue.customfields.searchers.VersionPickerSearcher.

Due to some reason I’m getting below exceptions.

No qualifying bean of type ‘com.atlassian.jira.jql.resolver.VersionResolver’ available: expected at least 1 bean which qualifies as autowire candidate.

atlassion-plugin.xml

<customfield-type key="jbonlymultiselectversion" name="Version Picker (Multiple choice) visible for Red Hat Employee"
                     class="org.jboss.labs.jira.plugin.custfieldtypes.JBossOnlyMultiVersionPickerCFType">                                                                       
       <description>RHT extension field. Allow the user who is in 'Red Hat Employee' group to view and input multi
           select field'.
       </description>
       <resource type="download" name="customfieldpreview.png" location="images/customfieldpreview/select.png">
           <param name="source" value="webContextStatic"/>
           <param name="multiple" value="true"/>
       </resource>
       <resource type="velocity" name="view" location="templates/jbonlymultiselectversion-view.vm"/> 
       <resource type="velocity" name="edit" location="templates/jbonlymultiselectversion-edit.vm"/>
       <resource type="velocity" name="xml" location="templates/jbonlymultiselectversion-xml.vm"/>
   </customfield-type>

<customfield-searcher key="jbonlymultiselectVersionsearcher" name="Multi Select Searcher for Red Hat only fields"
                         class="com.atlassian.jira.issue.customfields.searchers.VersionPickerSearcher">
       <description>RHT extension. Search for multiple values using a single select list.</description>
       <resource type="velocity" name="search" location="templates/plugins/fields/edit-searcher/search-version.vm"/>
       <resource type="velocity" name="view" location="templates/plugins/fields/view-searcher/view-searcher-version.vm"/>
       <resource type="velocity" name="label" location="templates/plugins/fields/view-searcher/label-searcher-version.vm"/>

       <valid-customfield-type package="${project.groupId}.${project.artifactId}" key="jbonlymultiselectversion"/>        
   </customfield-searcher>

let me know where I’m wrong.

Thanks in advance !