Search the FirstSpirit Knowledge Base
Hi,
after Firstspirit's update (version 5.0.606.65744), I can not get a remote connection,
de.espirit.firstspirit.common.IOError: Authorisation error - java.lang.NoSuchMethodError: de.espirit.common.util.SystemSettings.getDevKey()Ljava/lang/Class;
at de.espirit.firstspirit.client.io.HttpServerCaller.authorize(HttpServerCaller.java:301)
at de.espirit.firstspirit.client.io.HttpServerCaller.authorize(HttpServerCaller.java:269)
at de.espirit.firstspirit.client.io.HttpServerCaller.createClient(HttpServerCaller.java:240)
at de.espirit.firstspirit.client.io.HttpServerCaller.leaseClient(HttpServerCaller.java:194)
at de.espirit.firstspirit.client.io.HttpServerCaller.leaseClient(HttpServerCaller.java:37)
at de.espirit.firstspirit.client.io.ServerCaller.call(ServerCaller.java:232)
at de.espirit.firstspirit.client.io.ServerCaller._call(ServerCaller.java:519)
at de.espirit.firstspirit.client.io.ServerCaller.ping(ServerCaller.java:450)
at de.espirit.firstspirit.client.io.HttpServerCaller.doConnect(HttpServerCaller.java:121)
at de.espirit.firstspirit.client.io.ServerCaller.connect(ServerCaller.java:126)
at de.espirit.firstspirit.client.io.ConnectionImpl.connect(ConnectionImpl.java:180)
....
Caused by: java.lang.NoSuchMethodError: de.espirit.common.util.SystemSettings.getDevKey()Ljava/lang/Class;
at de.espirit.firstspirit.client.io.ServerCaller.getCertMACs(ServerCaller.java:529)
at de.espirit.firstspirit.client.io.HttpServerCaller.authorize(HttpServerCaller.java:288)
... 12 more
......
any idea?
ciao,
zava
This sounds like you've got a mix of jars from different FirstSpirit versions in your class path (5.0 and 4.2).
Hi Antonio,
are you using the same version ( 5.0.606.65744 of the fs-access.jar) in Eclipse to connect? If the versions are different, you aren't able to connect.
Best regards
Sahin
Hi Sahin,
if I use a different fs-access version from the server version I get a different message...
Wrong client version.......etc etc...
I use locally the same version. FIRSTspirit-Version: 5.0.606.
with...
ConnectionManager.testConnection("XXXXXXXXXXXX", 80, ConnectionManager.HTTP_MODE);
I got back
Exception in thread "main" de.espirit.firstspirit.access.AccessIOException: Connection problem:Authorisation error - java.lang.NoSuchMethodError: de.espirit.common.util.SystemSettings.getDevKey()Ljava/lang/Class;
This sounds like you've got a mix of jars from different FirstSpirit versions in your class path (5.0 and 4.2).
Hi Peter,
yes, it was a conflict between fs-access 606 and a old module lib from 425.
tx.
zava