ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience. gives error java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider


Article ID: 187151


Updated On:


CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway


Gives error
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
       at (Unknown Source)
       at<init> (Unknown Source)
       at<clinit> (Unknown Source)
       at (Unknown Source)
       at (Unknown Source)
caused by: java.lang.ClassNotFoundException: org.boucnycastle.jce.provider.BouncyCastleProvider
       at java.lang.URLClassLoader.loadClass(
       at sun.miscLauncer$AppClassLoader.loadClass(
       ... 5 more


Release : 9.3

Component : API GATEWAY


It was found that this GatewayMigrationUtility is running local to the gateway.
But the customer recently changed permissions on the entire directory (both ownership, and rwx)

Install a fresh gmu version with default root ownership of and dependent Jars, and the problem is resolved.