How to find the Web project compiled class file

Source: Internet
Author: User
Tags tomcat server

Original page http://blog.java1234.com/blog/articles/60.html

In some cases, we need to get a compiled class file for some of the projects in Eclipse.

Here I give an example, for example, I have a Web project that has been published to the Internet. But with a small change, we changed only one Java class, this time. We don't need to re-fight the war package.

Directly find the modified new generated class file, sent to the server, directly replace the original class file,

The configuration of the Tomcat Server.xml when we are the context node, to add Reloadable= "true", so that Tomcat will automatically restart the project, do not need our manual restart, very convenient;

Then how to find the Web project compiled class file.

We have two kinds of projects to explain:

1, normal Web project

We first find the working space of Eclipse Workspace;

Baiduyunserver here is a normal Web project, we click on the folder,

There is a build folder, and here is all the class files compiled by the project.


2,maven Project

We're still first to find out about Eclipse's work space workspace;

Here the blog project, is a MAVEN project, we click the blog;

Here is a target project, which is the MAVEN project compiled class file, of course, there are configuration files, it will be inside;


We can find the class file we need in it;

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.