You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are migrating to aws-encryption-sdk-java 3.0.1. The code builds without any problem, but when we try to deploy a Lambda we are facing the following error:
java.lang.NoClassDefFoundError: dafny/TypeDescriptor$Initializer
at software.amazon.cryptography.materialproviders.internaldafny.types.MaterialProvidersConfig.<clinit>(MaterialProvidersConfig.java:33)
at software.amazon.cryptography.materialproviders.ToDafny.MaterialProvidersConfig(ToDafny.java:1598)
I checked this is Runtime dependency of aws-cryptographic-material-providers like below:
We are migrating to
aws-encryption-sdk-java
3.0.1. The code builds without any problem, but when we try to deploy a Lambda we are facing the following error:I checked this is Runtime dependency of
aws-cryptographic-material-providers
like below:Could you help me to fix this issue? The only fix is adding Dafny dependency to the POMs? Thanks
The text was updated successfully, but these errors were encountered: