evdubs / Harmonia

Margin funding bot for Bitfinex
20 stars 8 forks source link

Can't execute - Warning: killAfter is now deprecated #7

Open Mikadily opened 9 years ago

Mikadily commented 9 years ago

When I try to execute always get this

[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6. [WARNING] java.lang.NoClassDefFoundError: com/xeiam/xchange/ExchangeException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2570) at java.lang.Class.getMethod0(Class.java:2813) at java.lang.Class.getMethod(Class.java:1663) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:281) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: com.xeiam.xchange.ExchangeException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 6 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.963s [INFO] Finished at: Tue Feb 17 02:25:10 EST 2015 [INFO] Final Memory: 7M/19M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project harmonia: An exception occured while executing the Java class. com/xeiam/xchange/ExchangeException: com.xeiam.xchange.ExchangeException -> [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/MojoExecutionException

evdubs commented 9 years ago

Did you try running this with the -e switch to get the full trace? Perhaps there was a legitimate exchange exception and the exchange exception implementation in XChange is buggy?

evdubs commented 7 years ago

Are you still having this issue (or even running Harmonia)?