AnsweredAssumed Answered

FSTR JNI error

Question asked by millerindustries on May 12, 2017

I can successfully execute the community File System Transfer Receiver 5.1 c with java -jar ./file-transfer-receiver.jar .


If I start community File Transfer Receiver 5.2 d or 5.2 e, I'm getting the following error:


 java -jar .\file-transfer-receiver.jar


Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.privateGetMethodRecursive(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 7 more


This error is independant from the operating system, because I've tested it with Ubuntu 16.04 (Java 8 Oracle & Open JDK) and Windows 10 (Java 8 Oracle JDK).