OpenBankProject / OpenBankProject/OBP-API
BUILD FAILURE
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OBP-API install guide and reproduce the failure using mvn package in obp-api. Inspect obp-api/src/main/scala/code/api/OBPRestHelper.scala and the project's dependency configuration for the reported missing com.alibaba and TransmittableThreadLocal references. Done means the obp-api package completes successfully without these compilation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100