-
Notifications
You must be signed in to change notification settings - Fork 16
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
Dont working #4
Comments
Getting the same error |
Launch the app as it is specified in the README, most probably you're forgetting to set the classpath. |
Just download all files from repo, not only .jar file |
The issue is clear in the stacktrace. Please read it:
The class that was not found is in ✔ ~/projects/java/intellij-decrypt [master|✔]
19:16 $ tree
.
├── intellijdecrypt.iml
├── intellij-decrypt.jar
├── lib
│ ├── commons-codec-1.9.jar
│ ├── commons-codec-1.9-javadoc.jar
│ └── LICENSE.txt
├── META-INF
│ └── MANIFEST.MF
├── README.md
└── src
├── com
│ └── intellij
│ └── ide
│ └── passwordSafe
│ └── impl
│ └── providers
│ └── EncryptionUtil.java
└── org
└── corneliudascalu
└── intellijdecrypt
└── Main.java
12 directories, 9 files
✔ ~/projects/java/intellij-decrypt [master|✔]
19:16 $ java -classpath .:intellij-decrypt.jar:lib/commons-codec-1.9.jar org.corneliudascalu.intellijdecrypt.Main
-help Display this help message.
-p <password> Specify the password
-f <path> (Optional) specify the path to the security.xml file. Default to ~/.IdeaIC13/config/options/security.xml
✔ ~/projects/java/intellij-decrypt [master|✔]
19:16 $ |
java -cp "intellij-decrypt.jar;lib/*" org.corneliudascalu.intellijdecrypt.Main -f ./security.xml -p This worked for me on Windows |
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
at java.lang.Class.getMethod0(Class.java:2856)
at java.lang.Class.getMethod(Class.java:1668)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 6 more
The text was updated successfully, but these errors were encountered: