azkaban / azkaban-plugins

Plugins for Azkaban.
https://azkaban.github.io
Apache License 2.0
130 stars 178 forks source link

Ant build fails: org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception #285

Open juhoautio opened 6 years ago

juhoautio commented 6 years ago

In root of azkaban-plugins:

ant

... script-test: [echo] Testing encrypt.sh [exec] Exception in thread "main" org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine [exec] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.handleInvalidKeyException(StandardPBEByteEncryptor.java:1073) [exec] at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.encrypt(StandardPBEByteEncryptor.java:924) [exec] at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:642) [exec] at azkaban.crypto.CryptoV1_1.encrypt(CryptoV1_1.java:42) [exec] at azkaban.crypto.Crypto.encrypt(Crypto.java:49) [exec] at azkaban.crypto.EncryptionCLI.main(EncryptionCLI.java:58)

BUILD FAILED

Please advise how to make the build pass.

Also, any hints on how to nicely add this project in IntelliJ IDEA? It's ant, which is not completely supported by IDEA..

HappyRay commented 6 years ago

Maybe this is because you are outside of U.S.?

I am not familiar with Ant. But I suspect you should be able to exclude the crypto module from the build for now. I remember it is used only for certain plugins.

@jinhyukchang do you know?