I have installed the micro-services successfully and they are up and running. But, when I run the registration jar file to register all the services with the discovery service, I get an error saying "Not able to find builder for capability: TokenServiceCapability"
The command I am running is java -jar discovery-registration.jar update from the discovery config folder as mentioned in the SDL docs.
Here is a screenshot of the error
There is nothing in the logs too.
Also, this is what I have in the cd_storage_conf.xml file in the discovery/config folder
<ConfigRepository CacheEnabled="true" CacheExpirationDuration="600" ClientId="registration" ClientSecret="encrypted:HzfQh9wYwAKShDxCm4DnnBnysAz9PtbDMFXMbPszSVY=" ConnectionTimeout="40000" ServiceMonitorPollDuration="10" ServiceUri="http://localhost:8082/discovery.svc" TokenServiceUrl="http://localhost:8082/token.svc"> <Roles> <Role Name="TokenServiceCapability" Url="http://localhost:8082/token.svc"/> <Role Name="WebCapability"/> </Roles> </ConfigRepository>
The microservices are on the same server as the CM, that is why I am using localhost there.