gpt4 book ai didi

jhipster - 错误:java: Annotation processor 'org.mapstruct.ap.MappingProcessor' not found

转载 作者:行者123 更新时间:2023-12-02 04:20:55 25 4
gpt4 key购买 nike

当我运行 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>

这为我解决了错误。

关于jhipster - 错误:java: Annotation processor 'org.mapstruct.ap.MappingProcessor' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30526250/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com