首页 > 代码库 > Recover Java code from class file
Recover Java code from class file
I‘m so careless I deleted a Java web project in eclipse. the only thing I have is a war file which I got from server.
Thanks to Procyon / Java Decompiler, I recovered all java source code from war class file. It‘s really a great tool!
https://bitbucket.org/mstrobel/procyon/wiki/Java%20Decompiler
You can download it from https://bitbucket.org/mstrobel/procyon/downloads
then execute following command to decompile class files in to current directory.
java -jar procyon-decompiler-0.5.27.jar *.class -o .
For spring MVC project, it cannot recover @Autowried annotation, you have to add it manually.
Recover Java code from class file
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。