I am trying one of the sample streaming examples in Java from the TR Dev Portal with TRKD using websockets for streaming data. I seem to be missing a jar file to satisfy the reference to a couple of classes, which I think should be in cli-commons.jar. However, adding this to the build path (in Eclipse) does not help. The lines of source with unresolved references are pasted below. The particular example I am trying to run is MarketPriceAuthentication.java, but the unresolved references apply to all the java examples.
form the Websocket API downloads here:
https://developers.thomsonreuters.com/elektron/websocket-api/downloads
The unresolved references are (in all the Java examples): lines 53-61
options.addOption(Option.builder().longOpt("hostname").hasArg().desc("hostname").build());
options.addOption(Option.builder().longOpt("port").hasArg().desc("port").build());
options.addOption(Option.builder().longOpt("app_id").hasArg().desc("app_id").build());
options.addOption(Option.builder().longOpt("user").hasArg().desc("user").build());
options.addOption(Option.builder().longOpt("position").hasArg().desc("position").build());
options.addOption(Option.builder().longOpt("password").hasArg().desc("password").build());
options.addOption(Option.builder().longOpt("auth_hostname").hasArg().desc("auth_hostname").build());
options.addOption(Option.builder().longOpt("auth_port").hasArg().desc("auth_port").build());
options.addOption(Option.builder().longOpt("help").desc("help").build());
And in MarketPriceAuthentication.java: lines 114, 115
builder.loadTrustMaterial(null, new TrustSelfSignedStrategy());
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(builder.build(), NoopHostnameVerifier.INSTANCE);