idea 运行报错:java: JPS incremental annotation processing is disabled.

SpringCloud编译报错:java: JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate. Use build process “jps.track.ap.dependencies” VM flag to enable/disable incremental annotation processing environment.

解决方案:

1.增加:-Djps.track.ap.dependencies=false

2.清理缓存

原文地址:https://www.cnblogs.com/banml/p/15411929.html