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.清理缓存

 

posted @ 2021-10-15 17:18  测试一枚  阅读(30121)  评论(1编辑  收藏  举报