Layer0ApiDemo Exception
Posted: Sun Jan 20, 2019 11:17 am
Hi,
I've tried the Layer0ApiDemo https://github.com/BookmapAPI/Layer0ApiDemo with the following stack:
1. Windows 10
2. Bookmap version 7 build 55
3. Eclipse IDE Version: 2018-12 (4.10.0) Build id: 20181214-0600
Loading the example VIA configuration files causes the following exception when launching Bookmap: And the log contains the following text:
java.lang.IllegalArgumentException: Failed to detect version based on entry point velox.api.layer0.live.DemoExternalRealtimeTradingProvider
at velox.bookmap.td.<init>(SourceFile:72)
at velox.bookmap.bn.a(SourceFile:107)
at velox.bookmap.bn.b(SourceFile:159)
at velox.ib.Main.b(SourceFile:2279)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: velox.api.layer0.live.DemoExternalRealtimeTradingProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at velox.bookmap.td.<init>(SourceFile:66)
... 4 more
The DemoExternalRealtimeTradingProvider.class exists in the bin folder ....bin\main\velox\api\layer0\live\
and so does DemoExternalRealtimeProvider.class and DemoExternalRealtimeProvider$Instrument.class
When loading the example via a JAR file exported to ...Bookmap\API\Layer0ApiModules\, Bookmap is successfully started, a permissions.bin file is generated in ....Bookmap\API\Layer0ApiModules\ folder but I can't see the new demo providers in Bookmap.
Please advise
I've tried the Layer0ApiDemo https://github.com/BookmapAPI/Layer0ApiDemo with the following stack:
1. Windows 10
2. Bookmap version 7 build 55
3. Eclipse IDE Version: 2018-12 (4.10.0) Build id: 20181214-0600
Loading the example VIA configuration files causes the following exception when launching Bookmap: And the log contains the following text:
java.lang.IllegalArgumentException: Failed to detect version based on entry point velox.api.layer0.live.DemoExternalRealtimeTradingProvider
at velox.bookmap.td.<init>(SourceFile:72)
at velox.bookmap.bn.a(SourceFile:107)
at velox.bookmap.bn.b(SourceFile:159)
at velox.ib.Main.b(SourceFile:2279)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: velox.api.layer0.live.DemoExternalRealtimeTradingProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at velox.bookmap.td.<init>(SourceFile:66)
... 4 more
The DemoExternalRealtimeTradingProvider.class exists in the bin folder ....bin\main\velox\api\layer0\live\
and so does DemoExternalRealtimeProvider.class and DemoExternalRealtimeProvider$Instrument.class
When loading the example via a JAR file exported to ...Bookmap\API\Layer0ApiModules\, Bookmap is successfully started, a permissions.bin file is generated in ....Bookmap\API\Layer0ApiModules\ folder but I can't see the new demo providers in Bookmap.
Please advise