Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Run API
 Post subject: Run API Post rating: 0   New post Posted: Thu 18 Feb, 2010, 05:09 

User rating: 0
Joined: Wed 17 Dec, 2008, 11:19
Posts: 29
Hi,

When I run API (java Main.class), I have this mesage:
Exception in thread "main" java.lang.NoClassDefFoundError: /JForexClientLibrary/src/singlejartest/Main/class
Caused by: java.lang.ClassNotFoundException: .JForexClientLibrary.src.singlejartest.Main.class
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: /JForexClientLibrary/src/singlejartest/Main.class. Program will exit.

Do I forgot something ?

Thanks


 
 Post subject: Re: Run API Post rating: 0   New post Posted: Mon 22 Feb, 2010, 09:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Sorry, this one is correct https://www.dukascopy.com/swiss/english/forex/jforex/library/
The problem is that you are trying to run wrong class - JForexClientLibrary.src.singlejartest.Main. The correct one is singlejartest.Main.
If you still have question, please do not hesitate to ask.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com