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 error #742

Closed
longtran84 opened this issue Feb 26, 2020 · 4 comments
Closed

build error #742

longtran84 opened this issue Feb 26, 2020 · 4 comments
Labels
awaiting triage Bugs awaiting developer initial investigation bug Something isn't working

Comments

@longtran84
Copy link

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orko-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ orko-common ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (sca-checkstyle) @ orko-common ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ orko-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ orko-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 116 source files to /home/longtran/orko/orko-common/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/longtran/orko/orko-common/src/main/java/com/gruelbox/orko/exchange/PaperTradeService.java:[323,22] constructor UserTrade in class org.knowm.xchange.dto.trade.UserTrade cannot be applied to given types;
required: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency,java.lang.String
found: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency
reason: actual and formal argument lists differ in length
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Orko ............................................... SUCCESS [ 51.860 s]
[INFO] Orko Base .......................................... SUCCESS [05:03 min]
[INFO] Orko DB Testsupport ................................ SUCCESS [ 8.071 s]
[INFO] Orko Auth .......................................... SUCCESS [ 17.512 s]
[INFO] Orko Job ........................................... SUCCESS [ 11.934 s]
[INFO] Orko Common ........................................ FAILURE [02:23 min]
[INFO] Orko Semantic UI Theme ............................. SUCCESS [03:13 min]
[INFO] Orko UI ............................................ SUCCESS [03:27 min]
[INFO] Orko Monolith Application .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:14 min (Wall Clock)
[INFO] Finished at: 2020-02-26T11:33:33+07:00
[INFO] Final Memory: 52M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project orko-common: Compilation failure
[ERROR] /home/longtran/orko/orko-common/src/main/java/com/gruelbox/orko/exchange/PaperTradeService.java:[323,22] constructor UserTrade in class org.knowm.xchange.dto.trade.UserTrade cannot be applied to given types;
[ERROR] required: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency,java.lang.String
[ERROR] found: org.knowm.xchange.dto.Order.OrderType,java.math.BigDecimal,org.knowm.xchange.currency.CurrencyPair,java.math.BigDecimal,java.util.Date,java.lang.String,java.lang.String,java.math.BigDecimal,org.knowm.xchange.currency.Currency
[ERROR] reason: actual and formal argument lists differ in length
[ERROR]
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :orko-common

@longtran84 longtran84 added awaiting triage Bugs awaiting developer initial investigation bug Something isn't working labels Feb 26, 2020
@badgerwithagun
Copy link
Member

Yep, I've been AFK for a few days. Will fix this afternoon.

@badgerwithagun
Copy link
Member

@all-contributors add @longtran84 for bug reports

@allcontributors
Copy link
Contributor

@badgerwithagun

I've put up a pull request to add @longtran84! 🎉

@badgerwithagun
Copy link
Member

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage Bugs awaiting developer initial investigation bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants