Need Help with Jira DC OAuth2.0 Implementation using Java

I’m working on integrating OAuth into my Jira DC application to create Jira application link… I’m currently using 2 Jira Dependencies,

    <dependency>
		<groupId>oauth.signpost</groupId>
		<artifactId>signpost-core</artifactId>
		<version>1.2.1.2</version>
	</dependency>

	<dependency>
		<groupId>oauth.signpost</groupId>
		<artifactId>signpost-commonshttp4</artifactId>
		<version>1.2.1.2</version>
	</dependency>

and I’m encountering an issue when trying to obtain access tokens.