Comments (3)
Is RP client-java compatible with only Java 11?
from client-java.
@Magesh-3041
As I answered you in Slack:
This is nothing to do with Java version. It fails on interface validation:
Caused by: java.lang.IllegalArgumentException: API interfaces must not extend other interfaces.
at retrofit2.Utils.validateServiceInterface(Utils.java:334)
This code was in Retrofit (our API client library) till version 2.6.4:
https://github.com/square/retrofit/blob/parent-2.6.4/retrofit/src/main/java/retrofit2/Utils.java#L334
But ReportPortal client supposed to work with Retrofit version starting from 2.7, where interface extension was allowed. Please examine your dependencies and update Retrofit library version. (edited)
from client-java.
Thanks @HardNorth You're right. I was using retrofit v2.6.2 in my project. Upgraded to the latest version and the error resolved. Thanks again for the help. Appreciate it.
from client-java.
Related Issues (20)
- java.lang.NoSuchMethodError: com.epam.reportportal.utils.TestCaseIdUtils.getTestCaseId HOT 1
- Access the response of `/api/{version}/{projectName}/launch` in Tests HOT 3
- I need to get the launch id when saving it in the report portal HOT 2
- Getting error "Cannot instantiate class com.epam.reportportal.testng.ReportPortalTestNGListener" HOT 10
- Many launches when ReuseFork is set on false HOT 1
- java.lang.NoClassDefFoundError: com/epam/reportportal/service/LockFile$5 when running as junit standalone HOT 1
- Separate report portal properties file according to the environment(Stg,QA,DEV) HOT 2
- [Improve] Add for @TestCaseID abilities to add TMS link HOT 2
- Proxy authentication not supported when passed through JVM args HOT 2
- Refactor logging
- [Improve] Add for @TestCaseID abilities to add TMS link HOT 2
- [Improve] Add the ability to call methods in the @Step annotation
- Not able to log messages into Report Portal is the number of logs is not a multiple of BatchLogsSize
- Mechanism to bulk upload results at the end of the test case HOT 1
- Random error with async reporting HOT 2
- @Step templating not supports `this` object reference in inner classes
- Remove Guava dependency HOT 1
- Regression: MimeTypeDetector no longer identifies content if there is no file extension HOT 5
- Request retry mechanism
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-java.