danishjamal104 commented on pull request #1764:
URL: https://github.com/apache/fineract/pull/1764#issuecomment-939434472


   > Hi @danishjamal104 , could you please resolve the issues in travis CI 
build?
   > 
   > ```
   > 1 warning
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/services/DocumentsApiFixed.java:36:
 error: duplicate class: org.apache.fineract.client.services.DocumentsApiFixed
   > public interface DocumentsApiFixed {
   >        ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/services/ImagesApi.java:37:
 error: duplicate class: org.apache.fineract.client.services.ImagesApi
   > public interface ImagesApi {
   >        ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/services/RunReportsApi.java:29:
 error: duplicate class: org.apache.fineract.client.services.RunReportsApi
   > public interface RunReportsApi {
   >        ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/util/FineractClient.java:151:
 error: duplicate class: org.apache.fineract.client.util.FineractClient
   > public final class FineractClient {
   >              ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/util/Calls.java:30:
 error: duplicate class: org.apache.fineract.client.util.Calls
   > public final class Calls {
   >              ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/util/JSON.java:48:
 error: duplicate class: org.apache.fineract.client.util.JSON
   > class JSON {
   > ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/util/CallFailedRuntimeException.java:30:
 error: duplicate class: 
org.apache.fineract.client.util.CallFailedRuntimeException
   > public class CallFailedRuntimeException extends RuntimeException {
   >        ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/util/Parts.java:40:
 error: duplicate class: org.apache.fineract.client.util.Parts
   > public final class Parts {
   >              ^
   > 
/home/travis/build/apache/fineract/fineract-client/build/generated/java/src/main/java/org/apache/fineract/client/auth/OAuthOkHttpClient.java:71:
 warning: [deprecation] create(MediaType,String) in RequestBody has been 
deprecated
   >         RequestBody body = request.getBody() != null ? 
RequestBody.create(mediaType, request.getBody()) : null;
   >                                                                   ^
   > 8 errors
   > 1 warning
   > FAILURE: Build completed with 2 failures.
   > 1: Task failed with an exception.
   > -----------
   > * What went wrong:
   > Execution failed for task ':fineract-client:rat'.
   > > A failure occurred while executing org.nosphere.apache.rat.RatWork
   >    > Apache Rat audit failure - 2 unapproved licenses
   >            See 
file:///home/travis/build/apache/fineract/fineract-client/build/reports/rat/index.html
   > * Try:
   > Run with --stacktrace option to get the stack trace. Run with --info or 
--debug option to get more log output. Run with --scan to get full insights.
   > 
==============================================================================
   > 2: Task failed with an exception.
   > -----------
   > * What went wrong:
   > Execution failed for task ':fineract-client:compileJava'.
   > > Compilation failed; see the compiler error output for details.
   > ```
   
   I have fixed the 'RAT' error which was due to licensing issue. But the 
present error is unavoidable since it is due to duplicate class. Because 
fineract client generates the SDK in build folder and some replaceable files 
are automatically moved in their which also reside in src folder of 
fineract-client.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to