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;