Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.6.0
-
None
-
None
-
1
Description
Reflective access of any class that refers to classes defined in the crypto extension library (example: DefaultCouchbaseEnvironment, JsonObject) fails with this exception:
java.lang.NoClassDefFoundError: Unable to load class com.couchbase.client.java.env.CouchbaseEnvironment due to missing dependency com/couchbase/client/encryption/CryptoManager
|
This causes problems for Spring and Groovy.
The workaround is to include the "optional" crypto library:
<dependency>
|
<groupId>com.couchbase.client</groupId>
|
<artifactId>encryption</artifactId>
|
<version>1.0.0</version>
|
</dependency>
|
Attachments
Issue Links
- links to
For Gerrit Dashboard: JCBC-1333 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108467,3 | JCBC-1333 Reflection triggers NoClassDefFoundError for CryptoManager | master | couchbase-java-client | Status: MERGED | +2 | +1 |