IDEA启动项目报错无法编译:JPS INCREMENTAL ANNOTATION PROCESSING IS DISABLED,解决


启动报错

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.

解决方式:

pom加上

<dependency>
            <groupId>com.intellij</groupId>
            <artifactId>annotations</artifactId>
            <version>5.1</version>
 </dependency>

或者

<dependency>
            <groupId>com.intellij</groupId>
            <artifactId>annotations</artifactId>
            <version>6.0.3</version>
 </dependency>


发表评论

您的电子邮箱地址不会被公开。