Jhipster 错误:java:Annotation processor';org.mapstruct.ap.MappingProcessor';找不到

Jhipster 错误:java:Annotation processor';org.mapstruct.ap.MappingProcessor';找不到,jhipster,Jhipster,运行application.java时: Information:Using javac 1.8.0_45 to compile java sources Information:java: Errors occurred while compiling module 'bookstore' Information:2015/5/29 17:35 - Compilation completed with 1 error and 0 warnings in 5 sec Error:java: An

运行application.java时:

Information:Using javac 1.8.0_45 to compile java sources
Information:java: Errors occurred while compiling module 'bookstore'
Information:2015/5/29 17:35 - Compilation completed with 1 error and 0 warnings in 5 sec
Error:java: Annotation processor 'org.mapstruct.ap.MappingProcessor' not found

您可以将其添加到pom中:

<dependency>
    <groupId>org.mapstruct</groupId>
    <artifactId>mapstruct-processor</artifactId>
    <version>${org.mapstruct.version}</version>
    <scope>provided</scope>
</dependency>

org.mapstruct
mapstruct处理器
${org.mapstruct.version}
假如

这为我修复了错误。

但是mvn spring boot:run是正确的。