OBP-API
OBP-API copied to clipboard
BUILD FAILURE
OS : Ubuntu 16.04 LTS Java Version: 1.8.0_25. First build & installed obp-commons since got error that missing obp-commons jar Now when I am trying to do mvn package for obp-api then got below build error. I am following instructions from here : https://github.com/OpenBankProject/OBP-API/wiki/OBP-API-Install-Guide---Bare-Metal#4-run-obp-api-in-production-mode-connected-to-kafka-and-adapter
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ obp-api ---
[INFO] No sources to compile
[INFO]
[INFO] --- scala-maven-plugin:4.3.1:compile (default) @ obp-api ---
[WARNING] Expected all dependencies to require Scala version: 2.12.10
[WARNING] net.liftweb:lift-json_2.12:3.1.0 requires scala version: 2.12.2
[WARNING] Multiple versions of scala libraries detected!
[INFO] Using incremental compilation using Mixed compile order
[INFO] Compiler bridge file: /home/krunal/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.12-1.3.2-bin_2.12.10__52.0-1.3.2_20200115T025827.jar
[INFO] Compiling 510 Scala sources to /home/krunal/workspace/obp/OBP-API/obp-api/target/classes ...
[WARNING] [Warn] /home/krunal/workspace/obp/OBP-API/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala:246: a pure expression does nothing in statement position; multiline expressions might require enclosing parentheses
[**ERROR**] [Error] /home/krunal/workspace/obp/OBP-API/obp-api/src/main/scala/code/api/OBPRestHelper.scala:43: object alibaba is not a member of package com
[**ERROR**] [Error] /home/krunal/workspace/obp/OBP-API/obp-api/src/main/scala/code/api/OBPRestHelper.scala:93: not found: type TransmittableThreadLocal
[WARNING] [Warn] /home/krunal/workspace/obp/OBP-API/obp-api/src/main/scala/code/api/util/newstyle/AttributeDocumentation.scala:3: imported `AttributeDefinition' is permanently hidden by definition of object AttributeDefinition in package newstyle
[WARNING] [Warn] /home/krunal/workspace/obp/OBP-API/obp-api/src/main/scala/code/api/util/newstyle/Consumer.scala:6: imported `Consumer' is permanently hidden by definition of object Consumer in package newstyle
[WARNING] three warnings found
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.112 s
[INFO] Finished at: 2020-05-01T20:10:07+05:30
[INFO] Final Memory: 128M/1694M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile (default) on project obp-api: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile failed. CompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Please help.
me to!
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile (default) on project obp-commons: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile failed: An API incompatibility was encountered while executing net.alchim31.maven:scala-maven-plugin:4.3.1:compile: java.lang.NoSuchMethodError: org.fusesource.jansi.AnsiConsole.wrapOutputStream(Ljava/io/OutputStream;)Ljava/io/OutputStream;
[INFO] Reactor Summary for Open Bank Project API Parent 1.10.1:
[INFO]
[INFO] Open Bank Project API Parent ....................... SUCCESS [ 3.258 s]
[INFO] Open Bank Project Commons .......................... FAILURE [ 8.155 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.697 s
[INFO] Finished at: 2023-11-07T17:40:24+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile (default) on project obp-commons: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.3.1:compile failed.: CompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn