Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I run (./encrypt.sh input="testusr" password=user) from jasypt-1.9.3/bin I get Error: Could not find or load main class org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI #43

Open
ESM07 opened this issue Aug 21, 2020 · 2 comments

Comments

@ESM07
Copy link

ESM07 commented Aug 21, 2020

I have followed the recommendations from this site (https://stackoverflow.com/questions/33826860/jasypt-in-cmd-cannot-find-main-class) and didn't work.

I'm using a Windows 10 PC and GitBash to run it.

Thanks

@davekant
Copy link

davekant commented Aug 25, 2020

This happens when your using a bash shell in windows such as Git Bash.
Try using the encrypt.bat
Alternatively, if you have Cygwin, then encrypt.sh should work fine.

GitBash will also throw this error if the full directory path contains spaces.

@ESM07
Copy link
Author

ESM07 commented Aug 26, 2020

Great thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants