|
From: Christoph J. <chr...@ma...> - 2020-03-30 13:28:37
|
Are you sure your JAR contains all needed libraries? Could you do a "jar tfv <jarfile> | grep MessageStoreFactory" on your JAR file? Is there any output? On 30.03.20 15:13, Fuad Azhar wrote: > first i build my apps in my local laptop my local environment is OpenJDK Runtime Environment > (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08) in local i use eclipse for build this java apps jar > after that i scp my jar to our staging server. and my staging server use aws server and i run my > apps using java -jar xxxx.jar but when i run it i got error like that. > so how to solved the problem ? thanks for your help christoph.john > > Pada tanggal Sen, 30 Mar 2020 pukul 20.01 Christoph John <chr...@ma... > <mailto:chr...@ma...>> menulis: > > This has to be something special to your runtime environment and does not look like a QuickFIX/J. > > How do you run your application? Do you start it from the command line or do you deploy your > application to some application server? > > > On 30.03.20 14:45, Fuad Azhar wrote: >> i have add quickfixj-message-fix42.2.1.1.jar also quickfixj-core and all of required but when >> i run i got that error again and again... how to fix it >> >> Pada tanggal Sen, 30 Mar 2020 pukul 19.40 Christoph John <chr...@ma... >> <mailto:chr...@ma...>> menulis: >> >> I guess the solution is the same as before, but probably you need to include another JAR >> file. I guess quickfixj-core. >> >> >> On 30.03.20 13:34, Fuad Azhar wrote: >>> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support:http://www.quickfixj.org/support/ >>> >>> >>> >>> Hi thanks for answer that my problem about JNI... now i have different error from my apps. >>> i have add quickfixj-messages-fix42.2.1.1.jar but when i try run my apps i have problem >>> like this one >>> >>> Exception in thread "main" java.lang.NoClassDefFoundError: quickfix/MessageStoreFactory >>> at com.dxtr.fastmatch.FastmatchMDRequest.<init>(FastmatchMDRequest.java:14) >>> at com.dxtr.fastmatch.FastmatchMDRequest.main(FastmatchMDRequest.java:19) >>> Caused by: java.lang.ClassNotFoundException: quickfix.MessageStoreFactory >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:382) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:418) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:351) >>> ... 2 more >>> >>> how to solved my problem ? >>> >>> Pada tanggal Sen, 30 Mar 2020 pukul 18.04 Aidan Nutley <an...@fi... >>> <mailto:an...@fi...>> menulis: >>> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >>> http://www.quickfixj.org/support/ >>> >>> >>> Hi, >>> >>> Take a look >>> https://stackoverflow.com/questions/22381202/a-jni-error-has-occurred-please-check-your-installation-and-try-again-in-eclips >>> >>> Thanks >>> Aidan >>> >> > > -- > Christoph John > Software Engineering > T +49 241 557080-28 > chr...@ma... <mailto:chr...@ma...> > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germany > www.macd.com <http://www.macd.com> > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |