在idea代码无法及时更新,代码和classes不同时,我们可以分为这三步来解决问题 1.打开idea,点击file 2.点击file,找到Settings... 3.把Synchronize这一排取消勾选