Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD FAILURE #1556

Open
A000ANB opened this issue May 1, 2020 · 3 comments
Open

BUILD FAILURE #1556

A000ANB opened this issue May 1, 2020 · 3 comments

Comments

@A000ANB
Copy link

A000ANB commented May 1, 2020

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.

@uzbekdev1
Copy link

me to!

@uzbekdev1
Copy link

[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;

@EdgeCaseLord
Copy link

[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 -rf :obp-commons
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.tesobe:obp-api >-------------------------
[INFO] Building Open Bank Project API 1.10.1
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> jetty:6.1.26:run (default-cli) > test-compile @ obp-api >>>
[WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [java.net.maven3 (http://download.java.net/maven/3/, default, releases+snapshots)]
[WARNING] Could not transfer metadata com.github.OpenBankProject:macmemo:0.6-OBP-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [java.net.maven3 (http://download.java.net/maven/3/, default, releases+snapshots)]
[WARNING] com.github.OpenBankProject:macmemo:0.6-OBP-SNAPSHOT/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata com.github.OpenBankProject:macmemo:0.6-OBP-SNAPSHOT/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [java.net.maven3 (http://download.java.net/maven/3/, default, releases+snapshots)]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.237 s
[INFO] Finished at: 2023-11-07T17:40:32+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project obp-api: Could not resolve dependencies for project com.tesobe:obp-api:war:1.10.1: Failed to collect dependencies at com.tesobe:obp-commons:jar:1.10.1: Failed to read artifact descriptor for com.tesobe:obp-commons:jar:1.10.1: The following artifacts could not be resolved: com.tesobe:obp-commons:pom:1.10.1 (absent): Could not transfer artifact com.tesobe:obp-commons:pom:1.10.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [java.net.maven3 (http://download.java.net/maven/3/, default, releases+snapshots)] -> [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/DependencyResolutionException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants