cointrader
                                
                                 cointrader copied to clipboard
                                
                                    cointrader copied to clipboard
                            
                            
                            
                        Latest master cannot build with mvn
Hello! I'm new with java. Did all according to instruction https://github.com/timolson/cointrader/wiki/Setup When try to build with maven get next error:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/MovStrategy.java:[30,34] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/BaseVolatilityStrategy.java:[63,54] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/PairsStrategy.java:[52,36] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/RunsStrategy.java:[36,35] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/MarketMakerStrategy.java:[48,42] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/MockTicker.java:[14,11] package jep does not exist
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/CorrelationStrategy.java:[30,42] cannot find symbol
  symbol: class TestStrategy
[ERROR] /D:/tmp/cointrader/src/main/java/org/cryptocoinpartners/module/ProbabilityTrendStrategy.java:[52,47] cannot find symbol
  symbol: class TestStrategy
[INFO] 8 errors
Tried on Windows & Ubuntu machines with jdk1.8 and 1.7, x86 and x64 - same problem.
Tried mvn clean and then mvn too
it looks like TestStrategy was not included in the git... where can we get it?
strange, let me take a look
On Fri, Jul 21, 2017 at 10:58 PM, NarimanAB [email protected] wrote:
it looks like TestStrategy was not included in the git... where can we get it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317122154, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHao3UsX7DeyEmlG4LCcf8Ek0DThX0ks5sQR8PgaJpZM4N4sUV .
fixed checked in.
On Fri, Jul 21, 2017 at 11:05 PM, Douggie melville-clarke < [email protected]> wrote:
strange, let me take a look
On Fri, Jul 21, 2017 at 10:58 PM, NarimanAB [email protected] wrote:
it looks like TestStrategy was not included in the git... where can we get it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317122154, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHao3UsX7DeyEmlG4LCcf8Ek0DThX0ks5sQR8PgaJpZM4N4sUV .
ok. but now it is different cointrader/src/main/java/org/cryptocoinpartners/module/MockTicker.java:[14,11] package jep does not exist
strange, I see jep in the POM:
On Fri, Jul 21, 2017 at 11:33 PM, NarimanAB [email protected] wrote:
ok. but now it is different cointrader/src/main/java/org/cryptocoinpartners/module/MockTicker.java:[14,11] package jep does not exist
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317127852, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHavo-1wEQYALEFFqXcKCZT5mWzDSiks5sQScvgaJpZM4N4sUV .
may be try
down voteaccepted
mvn clean install -U
On Fri, Jul 21, 2017 at 11:53 PM, Douggie melville-clarke < [email protected]> wrote:
strange, I see jep in the POM:
org.python.pypi jep 3.6.1 On Fri, Jul 21, 2017 at 11:33 PM, NarimanAB [email protected] wrote:
ok. but now it is different cointrader/src/main/java/org/cryptocoinpartners/module/MockTicker.java:[14,11] package jep does not exist
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317127852, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHavo-1wEQYALEFFqXcKCZT5mWzDSiks5sQScvgaJpZM4N4sUV .
jep jar downloaded by maven contains java files (source code) but not compiled class files.
hum,
strange, have not built from source for a while. let me take a look tonight, about 12 hours and sort it out.
My apologies.
Douggie
On Sat, Jul 22, 2017 at 9:34 AM, NarimanAB [email protected] wrote:
jep jar downloaded by maven contains java files (source code) but not compiled class files.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317167120, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHal083OJJt87jiJQOUwQn1KjNRHreks5sQbQXgaJpZM4N4sUV .
ok. cointrader/repo/org/python/pypi/jep/3.6.1/jep-3.6.1.jar contains source files and not class files As of my understanding, org/python/pypi/jep package requires native libraries for proper operation However, in the local mavev "repo" there is only native library for macos for python version 2.7, what about Linux or other python versions? Project org/python/pypi/jep does not support installation via maven. org/python/pypi/jep declined proposal to support an installation via maven as there are too many native dependencies. Maybe, it is better to follow the 'official' way of library installation?
or to remove dependency on Python at all...
Hi,
there is a complied version in /repo/org/python/pypi/jep/3.6.1.
Should just be able to add this to your local repo.
mvn install:install-file -Dfile= epo/org/python/pypi/jep/3.6.1/jep-3.6.1.jar -DgroupId=org.python.pypi -DartifactId=jep -Dversion=3.6.1 -Dpackaging=ja
On Sun, Jul 23, 2017 at 1:41 PM, NarimanAB [email protected] wrote:
ok. cointrader/repo/org/python/pypi/jep/3.6.1/jep-3.6.1.jar contains source files and not class files As of my understanding, org/python/pypi/jep package requires native libraries for proper operation However, in the local mavev "repo" there is only native library for macos for python version 2.7, what about Linux or other python versions? Project org/python/pypi/jep does not support installation via maven. org/python/pypi/jep declined proposal to support of installation via maven as there are too many native dependencies. Maybe, it is better to follow 'official' way of library installation?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317250344, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHatWwy2iWzqbt_l9T946e_AAaipdnks5sQz-DgaJpZM4N4sUV .
Here is how I solved JEP issues (on Windows):
- installed JEP using pip: pip install jep(NOTE: I used the latest available version3.6.4- https://pypi.python.org/pypi/jep)
- created repo\org\python\pypi\jep\3.6.4
- copied JAR from Python site-packages (...Python36\Lib\site-packages\jep\jep-3.6.4.jar) to this directory
- created repo\org\python\pypi\jep\3.6.4\jep-3.6.4.pombased on repo\org\python\pypi\jep\3.6.1\jep-3.6.1.pom - just replaced3.6.1with3.6.4
- changed dependency in main pom.xml:
		<dependency>
			<groupId>org.python.pypi</groupId>
			<artifactId>jep</artifactId>
			<version>3.6.4</version>
		</dependency>
I believe the same could have been done with original version 3.6.1.
Hope that helps.
BTW, I still couldn't find TestStrategy anywhere, so I temporarily remove the following from src\main\java\org\cryptocoinpartners\module to pass maven build without error:
BaseMomentumStrategy.java
BaseVolatilityStrategy.java
CarryStrategy.java
CorrelationStrategy.java
MarketMakerStrategy.java
MomentumStrategy.java
MovStrategy.java
PairsStrategy.java
ProbabilityTrendStrategy.java
RunsStrategy.java
@douggie Where can I find checked in TestStrategy ?
Hi,
Teststategy has been removed from repo, it was just a test that is not required. if you do a pull you should see it has gone.
Thanks so much for the jep info. will add it to the wiki.
On Tue, Jul 25, 2017 at 11:27 AM, Leonid Shamis [email protected] wrote:
BTW, I still couldn't find TestStrategy anywhere, so I temporarily remove the following from src\main\java\org\cryptocoinpartners\module to pass maven build without error:
BaseMomentumStrategy.java BaseVolatilityStrategy.java CarryStrategy.java CorrelationStrategy.java MarketMakerStrategy.java MomentumStrategy.java MovStrategy.java PairsStrategy.java ProbabilityTrendStrategy.java RunsStrategy.java
@douggie https://github.com/douggie Where can I find checked in TestStrategy ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-317696578, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHaqOWSPm21y8FF7LMikI44j42ZSExks5sRcMHgaJpZM4N4sUV .
It does not appear that /src/main/java/org/cryptocoinpartners/module/TestStrategy.java was ever in the repo. It looks like it's on your machine and you didn't do a git add on it.
It's the abstract base class for all of the strategy modules. Can't build without it. Can you add it to the repo, please?
if you pull it is no longer in repo.
On Sat, Jul 29, 2017 at 6:49 AM, Procyon112 [email protected] wrote:
It does not appear that /src/main/java/org/cryptocoinpartners/module/TestStrategy.java was ever in the repo. It looks like it's on your machine and you didn't do a git add on it.
It's the abstract base class for all of the strategy modules. Can't build without it. Can you add it to the repo, please?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-318806641, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHaqa9qTauPyNmmZNXMJArJEDxkvjbks5sSsfYgaJpZM4N4sUV .
I agree. It is not in repo and it has never been as far as I can see. That's not the problem.
The problem is that these classes all derive from it and they ARE in the repo. So it cannot build because TestStrategy.java is missing:
in /src/main/java/org/cryptocoinpartners/module/
BaseMomentumStrategy.java BaseVolatilityStrategy.java CarryStrategy.java CorrelationStrategy.java MarketMakerStrategy.java MomentumStrategy.java MovStrategy.java PairsStrategy.java ProbabilityTrendStrategy.java RunsStrategy.java
Sorry for the confusion all of those dependant classes are no longer in repo
On Sat, 29 Jul 2017, 08:40 Procyon112, [email protected] wrote:
I agree. It is not in repo and it has never been as far as I can see. That's not the problem.
The problem is that these classes all derive from it and they ARE in the repo. So it cannot build because TestStrategy.java is missing:
in /src/main/java/org/cryptocoinpartners/module/
BaseMomentumStrategy.java BaseVolatilityStrategy.java CarryStrategy.java CorrelationStrategy.java MarketMakerStrategy.java MomentumStrategy.java MovStrategy.java PairsStrategy.java ProbabilityTrendStrategy.java RunsStrategy.java
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-318811518, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHau5_rd0JwiHAKvzjj3usmCm4076sks5sSuHygaJpZM4N4sUV .
check out commit https://github.com/timolson/cointrader/commit/fe10e963cc16b512c1955045d9073e6401fb35d1
On Sat, Jul 29, 2017 at 8:40 AM, Procyon112 [email protected] wrote:
I agree. It is not in repo and it has never been as far as I can see. That's not the problem.
The problem is that these classes all derive from it and they ARE in the repo. So it cannot build because TestStrategy.java is missing:
in /src/main/java/org/cryptocoinpartners/module/
BaseMomentumStrategy.java BaseVolatilityStrategy.java CarryStrategy.java CorrelationStrategy.java MarketMakerStrategy.java MomentumStrategy.java MovStrategy.java PairsStrategy.java ProbabilityTrendStrategy.java RunsStrategy.java
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-318811518, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHau5_rd0JwiHAKvzjj3usmCm4076sks5sSuHygaJpZM4N4sUV .
still some problem with the REPO: 1: double dependencies of org.apache.commons:commons-math3:jar in the pom : have to delete the oldest one (version 3.2) 2: dependencies with TestStrategy are still there: Have to delete ALL the Strategy classes which extends TestStrategy 3: jep librairies still not compiled: have to instal the 3.7.0 version with a maven install command line 4: some Errors on the assembly plugin but the jar are generated anyway with a mvn clean install
==> Contributors should clean up the entire project and set a TAG on the REPO...
Thanks anyway this tool seems very promising
@dsissoko any luck with building this java project? Could you pls submit a PR maybe then? Or share prebuilt project with zip :)
you can follow the 4 steps stated in my previous comments and u will get a fresh build in the target directory. OFC you need first to have JDK and MAVEN available in your user PATH
for the jep library you can follow the comment of LeonidShamis posted earlier
Guys I haven't been actively maintaining this for years now. Douggie took over for a while, but maybe he's also moved on, not sure. I can comment here and there but don't really have time. If anyone wants to pick this project up, I'm happy to add contributors. Notice the wiki here on github too... I put some effort into docs outside the readme
Hi,
Still actively maintaining the project.
The setup instructions do have the jep stuff in.
https://github.com/timolson/cointrader/wiki/Setup
Let me know if you are still having issues.
Regards
Douggie
On Fri, Sep 1, 2017 at 1:13 AM, Tim Olson [email protected] wrote:
Guys I haven't been actively maintaining this for years now. Douggie took over for a while, but maybe he's also moved on, not sure. I can comment here and there but don't really have time. If anyone wants to pick this project up, I'm happy to add contributors. Notice the wiki here on github too... I put some effort into docs outside the readme
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-326453117, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHakcgIg2UhhnV_t088Y05nvDojSJSks5sd0w_gaJpZM4N4sUV .
happy to have some news here from tim and douggie. hope this setup issues will be soon fixed.
setup instrutions dont fix the problem: the jep library cant be found in any maven repository so we have to install it manually in the local maven repository SO from step 5 of the Setup chapter we have to follow these instructions:
6. Download Jep source code at https://pypi.python.org/pypi/jep and extract the tar.gz file
7. cd in the freshly extracted jep-3.7.0 directory, build the jep-3.7.0.jar file following instructions of jep README
8. cd build/java and check out the freshly build of jep-3.7.0.jar
9. mvn install:install-file -Dfile=jep-3.7.0.jar -DgroupId=org.python.pypi -DartifactId=jep -Dversion=3.7.0 -Dpackaging=jar
10. update the pom.xml of cointrader:
Hi, I am new to this and still try to make sens of it. I fallowed successfully all 11 steps (thx dsissoko), but still have the exact same error while build with maven "mvn".
Does someone have any idea?
Ubuntu 16.04.3; Maven 3.3.9; jep-3.7.0.jar build with python2.7.12; JDK java-8-oracle
ERROR:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.cryptocoinpartners:cointrader:jar:0.3.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.commons:commons-math3:jar -> version 3.2 vs 3.6.1 @ line 189, column 13
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cointrader 0.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- antlr4-maven-plugin:4.2.2:antlr4 (antlr) @ cointrader ---
[INFO] ANTLR 4: Processing source directory /home/allex/cointrader/src/main/antlr4
[INFO] Processing grammar: org/cryptocoinpartners/command/Order.g4
[INFO] Processing grammar: org/cryptocoinpartners/command/Csv.g4
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cointrader ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 16 resources
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ cointrader ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 266 source files to /home/allex/cointrader/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/MarketMakerStrategy.java:[48,42] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/BaseVolatilityStrategy.java:[63,54] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/CorrelationStrategy.java:[30,42] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/ProbabilityTrendStrategy.java:[52,47] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/MovStrategy.java:[30,34] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/PairsStrategy.java:[52,36] cannot find symbol
symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/RunsStrategy.java:[36,35] cannot find symbol
symbol: class TestStrategy
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.877 s
[INFO] Finished at: 2017-09-27T14:17:23+02:00
[INFO] Final Memory: 31M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure: Compilation failure:
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/MarketMakerStrategy.java:[48,42] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/BaseVolatilityStrategy.java:[63,54] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/CorrelationStrategy.java:[30,42] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/ProbabilityTrendStrategy.java:[52,47] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/MovStrategy.java:[30,34] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/PairsStrategy.java:[52,36] cannot find symbol
[ERROR] symbol: class TestStrategy
[ERROR] /home/allex/cointrader/src/main/java/org/cryptocoinpartners/module/RunsStrategy.java:[36,35] cannot find symbol
[ERROR] symbol: class TestStrategy
[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
i will take a look
On Wed, 27 Sep 2017, 13:16 Sise, [email protected] wrote:
Hi, I am new to this and still try to make sens of it. I fallowed successfully all 11 steps (thx dsissoko), but still have the exact same error while build with maven "mvn".
Does someone have any idea?
Ubuntu 16.04.3; Maven 3.3.9; jep-3.7.0.jar build with python2.7.12; JDK java-8-oracle
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-332501790, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHarf9qtY60YuiJFZ3897E1qY_rgpYks5smjyAgaJpZM4N4sUV .
If you just want to try it out without the hassle - it was building back here: https://github.com/timolson/cointrader/commit/214c976f1f234d0f3df4e3c691f011099b062234
I am getting the following error in when running mvn
$ mvn [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building cointrader 0.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- antlr4-maven-plugin:4.2.2:antlr4 (antlr) @ cointrader --- [INFO] ANTLR 4: Processing source directory C:\Users\faize\cointrader\src\main\antlr4 [INFO] Processing grammar: org\cryptocoinpartners\command\Order.g4 [INFO] Processing grammar: org\cryptocoinpartners\command\Csv.g4 [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cointrader --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 16 resources [INFO] Copying 4 resources [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ cointrader --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 266 source files to C:\Users\faize\cointrader\target\classes [INFO] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/module/ProbabilityTrendStrategy.java: C:\Users\faize\cointrader\src\main\java\org\cryptocoinpartners\module\ProbabilityTrendStrategy.java uses or overrides a deprecated API. [INFO] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/module/ProbabilityTrendStrategy.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[17,37] reference to Module is ambiguous both interface com.google.inject.Module in com.google.inject and class java.lang.Module in java.lang match [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[44,34] cannot find symbol symbol: class Field location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector<I> [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[64,23] cannot find symbol symbol: class Field location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector<I> [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.313 s [INFO] Finished at: 2017-12-29T22:07:46+04:00 [INFO] Final Memory: 32M/106M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure: Compilation failure: [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[17,37] reference to Module is ambiguous [ERROR] both interface com.google.inject.Module in com.google.inject and class java.lang.Module in java.lang match [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[44,34] cannot find symbol [ERROR] symbol: class Field [ERROR] location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector<I> [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[64,23] cannot find symbol [ERROR] symbol: class Field [ERROR] location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector<I> [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
will take a look.
On Fri, Dec 29, 2017 at 6:17 PM, faizeln02 [email protected] wrote:
I am getting the following error in when running mvn
$ mvn [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------
[INFO] Building cointrader 0.3.0-SNAPSHOT [INFO] ------------------------------------------------------------
[INFO] [INFO] --- antlr4-maven-plugin:4.2.2:antlr4 (antlr) @ cointrader --- [INFO] ANTLR 4: Processing source directory C:\Users\faize\cointrader\src
main\antlr4 [INFO] Processing grammar: org\cryptocoinpartners\command\Order.g4 [INFO] Processing grammar: org\cryptocoinpartners\command\Csv.g4 [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cointrader --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 16 resources [INFO] Copying 4 resources [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ cointrader --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 266 source files to C:\Users\faize\cointrader
target\classes [INFO] /C:/Users/faize/cointrader/src/main/java/org/ cryptocoinpartners/module/ProbabilityTrendStrategy.java: C:\Users\faize\cointrader\src\main\java\org\cryptocoinpartners\module\ProbabilityTrendStrategy.java uses or overrides a deprecated API. [INFO] /C:/Users/faize/cointrader/src/main/java/org/ cryptocoinpartners/module/ProbabilityTrendStrategy.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/Users/faize/cointrader/src/main/java/org/ cryptocoinpartners/util/LogInjector.java:[17,37] reference to Module is ambiguous both interface com.google.inject.Module in com.google.inject and class java.lang.Module in java.lang match [ERROR] /C:/Users/faize/cointrader/src/main/java/org/ cryptocoinpartners/util/LogInjector.java:[44,34] cannot find symbol symbol: class Field location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector
- [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[64,23] cannot find symbol symbol: class Field location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO]
[INFO] BUILD FAILURE [INFO]
[INFO] Total time: 4.313 s [INFO] Finished at: 2017-12-29T22:07:46+04:00 [INFO] Final Memory: 32M/106M [INFO]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project cointrader: Compilation failure: Compilation failure: [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[17,37] reference to Module is ambiguous [ERROR] both interface com.google.inject.Module in com.google.inject and class java.lang.Module in java.lang match [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[44,34] cannot find symbol [ERROR] symbol: class Field [ERROR] location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector [ERROR] /C:/Users/faize/cointrader/src/main/java/org/cryptocoinpartners/util/LogInjector.java:[64,23] cannot find symbol [ERROR] symbol: class Field [ERROR] location: class org.cryptocoinpartners.util.LogInjector.MyMembersInjector [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 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException*
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/141#issuecomment-354481359, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHagnc4aGIqMo9GFDD2wXdKJQ7ixYuks5tFSyigaJpZM4N4sUV .