hi Support,
I'm working fine with the JForex maven project per your instructions in another thread.
Everything is running nicely inside Eclipse.
I'm now trying to export to a runnable jar and run from command line.
I get the following exception when calling the
IClient.connect method:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.NoSuchFieldError: USDBRL
at com.dukascopy.dds2.greed.util.AbstractCurrencyConverter.<clinit>(AbstractCurrencyConverter.java:49)
at com.dukascopy.charts.data.orders.OrdersProvider.<init>(OrdersProvider.java:55)
at com.dukascopy.charts.data.orders.OrdersProvider.createInstance(OrdersProvider.java:81)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:168)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:148)
please note that this did not happen when I run on previous JFrorex-API versions (prior to the maven project)
please advise.