cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java java.lang.NoClassDefFoundError: com/rsa/crypto/jcm/ModuleLoader after updating to BIP4.2

Former Member
0 Likes
3,926

After updating the jar files of my Java application with the new sdk JAR files in the following link: https://help.sap.com/viewer/0225aa3e7b4b4b17b2d4a882e6f2de96/4.2.4/en-US/45f4d9ba6e041014910aba7db0e...

I am getting the following error when trying to start my application:

Exception in thread "Thread-6" java.lang.NoClassDefFoundError: com/rsa/crypto/jcm/ModuleLoader

at com.rsa.cryptoj.o.cq.<clinit>(Unknown Source)

at com.rsa.cryptoj.o.co.<clinit>(Unknown Source)

at com.rsa.jsafe.CryptoJ.isFIPS140Compliant(Unknown Source)

at com.businessobjects.bcm.internal.BcmRsaLib.initialize(BcmRsaLib.java:214)

at com.businessobjects.bcm.internal.BcmRsaLib.<clinit>(BcmRsaLib.java:289)

at com.businessobjects.bcm.BCM.<clinit>(BCM.java:1158)

at com.crystaldecisions.enterprise.ocaframework.BCMInitializer.run(BCMInitializer.java:29)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.ClassNotFoundException: com.rsa.crypto.jcm.ModuleLoader

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)

... 8 more

ERROR [2018-10-06 23:04:53,112] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 57ba963244b9e4f4

! java.lang.NoClassDefFoundError: Could not initialize class com.businessobjects.bcm.BCM

Accepted Solutions (0)

Answers (2)

Answers (2)

DellSC
Active Contributor
0 Likes

And if this is a runnable .jar file, you can't package or extract the libraries from the Build Path into the .jar. Instead, you have to compile the .jar with the libraries in "a sub-folder next to the generated JAR" (from Eclipse). For some reason compiling them into the .jar doesn't get everything.

-Dell

ayman_salem
Active Contributor
0 Likes

see my answer about the need of the JAR file "jcmFIPS.jar" under https://answers.sap.com/questions/654919/bi-42-sp6-cant-log-in-with-sdk.html?childToView=655803#answ...

...

Also, verify that you have added to the classpath