Recently, the development of the travel business, leaving the separation, the new employees are not familiar with the project, we have to let our testers to take care of them
First step: Download the Project War package to the server
Step two: Download the jar anti-compilation tool Jd-gui
: http://jd.benow.ca/
Step Three: Open Jd-gui
File-->open File, open the war just downloaded, this time the jar has been anti-compilation, and then File-->save all Sources, the export is a ZIP package containing these contents, figure one:
Web-inf folder contains compiled Java files, figure II
Fourth step: Open Eclipse and import the war package project that you just downloaded from the server
File-->import-->war
Fifth step: The third step diagram one of the files, copy to the current project WebContent folder, figure II Java file Copy the current project's SRC folder. In addition, you need to export the war from the server webcontent\web-inf\lib the following dependent jar,copy come over.
Sixth step: At this time, you will find that there will be a variety of errors, such as the JRE version of the selection inconsistent, repeat the definition of variables, a lot more comments, and so on, modify the changes, so that a project has been recompiled.
War anti-compilation into Java project