Not long ago, the project team decided to change the development tool and use eclipse for Java Web project development. After using this tool for a while, I felt really good. Thanks to the free use of this tool, it is very popular among developers. Of course, the best thing is the bosses who don't have to buy development tools by themselves. When talking about eclipse, we have to talk about another of its most important advantages: its plug-in function provides plug-in Interfaces. Therefore, there are various plug-ins on the network, this also improves our development efficiency a lot.
At the same time, he also encountered a problem, that is, he and those paid development tools, such as intellij idea,
There is still a certain gap, one of which is the question. Sometimes eclipse will not compile it by itself.
I have encountered such a problem several times.
The first time, that is, during the integration of business groups and platform code, many errors may occur, which leads to many errors. At this time, when the number of errors reaches a certain level, the system will not continue compilation, so the solution is to solve some bugs and then continue compilation.
The second time, I was debugging a piece of code that had been passed, but it didn't get the effect I wanted. The idea at that time must be
I accidentally wrote the wrong field, especially the parameter situation "value", so I came up with a developer's housekeeping skill-debugging and tracking. The results were tracked in many places and were correct, it turns out that the problem is the first class I should have been using. For example, I should have a connectionvo. java, which originally had three fields, and its methods are also the get/set method,
After I added two parameters and related methods, I did not see the two fields I added during system operation. Later, I found that, the Compilation Time of my class file records has not changed at all, and the changes have not been compiled. Therefore, I simply deleted my tears, so I will not compile it again.
Helpless, the last move, close the project, delete the project (do not delete the file), enter the system file, put. classpath and. delete the project, and then create a project with the same name, the system will be restored (but now you have to reset the environment ). After setting, select automatic compilation. Everything is OK and the system is running normally!
I hope this article will be helpful to anyone who has encountered the same problem!