unable to find gradle dependency for zephyr -ZFJCloudRestClient - gradle

I am new to ZAPI and generating the JWT token through java code for authentication.
I got the code for generate JWT token from :https://github.com/zephyrdeveloper/zapi-cloud/blob/master/Samples/src/com/thed/zapi/cloud/sample/sampleJwtGenerator.java
i was not able to resolve couple of imports
import com.thed.zephyr.cloud.rest.ZFJCloudRestClient;
import com.thed.zephyr.cloud.rest.client.JwtGenerator;
Can someone pleasse help me which gradle dependencies do i need use to get use to get this resolved.
Thanks

I download the jar from here which solved my issue: https://github.com/jenkinsci/zephyr-for-jira-test-management-plugin/blob/master/src/main/resources/zfj-cloud-rest-client-3.0.jar

Related

Why I cannot import JsonFormat from package com.google.protobuf.util?

Currently, I'm working on google cloud (google pub/sub). I've used java client. But I cannot import JsonFormat class from package com.google.protobuf.util. I'm using intelliJ idea, I have tried invalidate cache and restart the idea. What am I missing?
My build.gradle
// google cloud
implementation platform('com.google.cloud:libraries-bom:22.0.0')
implementation 'com.google.cloud:google-cloud-pubsub'
In latest versions of google cloud bom the package com.google.cloud.protobuf:protobuf-util is used with runtime scope, so it's not available during compilation. Not sure why they changed it...
Adding manually the dependency with compile scope (maven) or implementation (gradle) should help.
Source:
https://mvnrepository.com/artifact/com.google.cloud/google-cloud-pubsub/1.114.7

SunCertPathBuilderException : unable to find valid certification path to requested target but different issue

I am trying to import a gradle project and when I try to create a Spring starter project in Spring tool suite (STS 4), I see this error.
I looked online and have added the certs for both start.spring.io and services.gradle.org but I still see the error. Could anyone help me figure this out as to what else am I missing?

The import org.springframework.http.ContentCodingType cannot be resolved

I am trying to import Spring ContentCodingType class in my code.I have included the below dependency in my pom.xml.but still it is not resolving and getting compilation error while doing maven clean install.
Any one please suggest what is the problem here.
spring-webmvc - 4.3.3.RELEASE
You need Spring for Android, specifically spring-android-rest-template because that's where that class lives.

Ant replace token - Gradle

I am trying to understand a multi-build spring boot project. In one of the sub project it has a build.gradle file, and the first line is:
import org.apache.tools.ant.filters.ReplaceTokens
From what I read on Google, I understand this is to replace some ant property files, however I'm unable to find any more information. Can someone please help me understand how this works and what it does?
Thank you!
This line by itself doesn't do anything. It is just telling gradle/java to import the class ReplaceTokens for later use in the build script. If you look through the file, you'll likely find where they're actually using it.
If you can post more of the build.gradle file, I/someone will be able to help more.
And you're right, this class is used to do find and replaces in other files.

the ggts cant import the spring source code

I want to read and learn Spring's source code, but I cant import the gradle project after I download the source cdoe.
Here is the error message
enter image description here
can anybody help me?

Resources