java-deobfuscator / deobfuscator

The real deal
https://javadeobfuscator.com
Apache License 2.0
1.59k stars 295 forks source link

Error occurred while parsing the configuration file #817

Closed Sliden101 closed 3 years ago

Sliden101 commented 3 years ago

Here is the error when I run java -jar deobfuscator.jar --config detect.yml [main] ERROR com.javadeobfuscator.deobfuscator.DeobfuscatorMain - An error occurred while parsing the configuration file java.io.FileNotFoundException: detect.yml (The system cannot find the file specified) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(Unknown Source) at java.base/java.io.FileInputStream.<init>(Unknown Source) at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:307) at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:14) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) at com.javadeobfuscator.deobfuscator.DeobfuscatorMain.run(DeobfuscatorMain.java:66) at com.javadeobfuscator.deobfuscator.DeobfuscatorMain.main(DeobfuscatorMain.java:36) My config.yml file input: input.jar detect: true

Janmm14 commented 3 years ago

You told the program that your config file is named detect.yml and not config.yml

You also might want to look into using the deobfuscator-gui. Using it is significantly easier.

ItzSomebody commented 3 years ago

Closing this as this is intended behavior. Feel free to reply with any new information as needed.