Several methods for MyEclipse to clean up the project cache


http://bbs.csdn.net/topics/391844823
quote

1. Project cleaning: Select Project in the menu bar—>Clean..—>Check the projects that need to be cleaned (you can also choose all) 

Remember: clean the project, you need to recompile


2. If the project is a maven project, there are When the clean project does not work. At this time, you need to use maven to clear the cache: right-click the project -> Run As -> Maven clean

Remember: After this method is cleared, you need to recompile maven, you can use Maven -> Update Project or a custom Maven build


3, If the above two do not work, then go directly to the classes directory of the project, check the compiled class, decompile, compare it with the current project, and see if it has been updated, if not, delete and recompile


4 , If it is a web project and started with Tomcat, it is found that there is a cache problem, the project is not updated, the solution: delete the project, and enter the webapps and work directories of Tomcat, delete your project, then re-import the project, and recompile


5. Browser Cache: The browser cache includes the browser's own cache and program cache

(a) Self-contained cache: Many browsers, such as Google, sometimes ask you whether to save the data. If you click on it, the data is prone to appear in many cases The solution to the problem that is not updated

          : Be careful about remembering passwords or saving data in the browser.. If there is a problem: such as google, select history -> clear browsing data -> all

(b) program cache: for Explanation of this: if ajax is used for get query, etc.

          Solution: Ajax has a cache attribute, the default is true, which is the question of whether the page needs to be cached, and it is ok to change it to false. For specific reference: Ajax request example and precautions

Blog address: myeclipse Several steps to clean up the project cache

Also: The mention of project caching here reminds me of hot deployment. I have studied Mybatis hot deployment before, and just found Tomcat hot deployment. The following is the search content and evaluation comparison, I have not tried it myself, just for reference to

the three methods of Tomcat hot deployment:
http://chen25362936.blog.163.com /blog/static/25655474201216113142284/
Implementation and disadvantages of Tomcat hot deployment:
http://bbs.csdn.net/topics/370081776

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326944240&siteId=291194637