Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
Description
Current Situation
Calling the ./bin/agent_credential_value.cmd script from an Agent fails with following message:
java.lang.NoClassDefFoundError: com/google/common/base/Splitter
at com.sos.commons.credentialstore.keepass.SOSKeePassPath.(SOSKeePassPath.java:66)
at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.loadFromUri(SOSKeePassDatabase.java:344)
at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.getProperty(SOSKeePassDatabase.java:286)
at com.sos.commons.credentialstore.keepass.SOSKeePassDatabase.main(SOSKeePassDatabase.java:445)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Splitter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more
Workaround
Copy the following jar files to the Agents ./lib/patches directory.
- guava-32.1.1-jre.jar
and its transitive dependencies
Desired Behavior
Keepass support should be re-established by shipping all required Java libraries.