CRISP with OAuth2RestTemplate

I wanted a RestTemplate to carry a AcessToken therefore have choosen OAuth2RestTemplate thereby provided
the bean config org.springframework.security.oauth2.client.OAuth2RestTemplate at bootstrap\configuration\src\main\resources\configuration\modules\crispregistry\moduleconfig\resourceresolvercontainer as mentioned in the demo , However when Application started I get java.lang.NoSuchMethodException: org.springframework.security.oauth2.client.OAuth2RestTemplate.() exception…

When I change the config to that org.springframework.web.client.RestTemplate
of it works fine the crisp version is 1.0.4 and Hippo cms version is 11.x

could you point out how to proceed.

Many Thanks
Srinivas Jasti

have you you added oauth dependency? e.g.

<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>2.3.3.RELEASE</version>