War anti-compilation into Java project

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.