我试图克隆一个后端项目,并运行:mvn安装本地创建jar文件,并部署到aws之后,但它的错误甚至java和maven安装正确
[INFO] -------------------------< com.example:KnCare >---------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] The type of parameter "dto" has no property named "memberIds".
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] Qualifier error. No method found annotated with @Named#value: [ toModelGroupMembership ]. See https://mapstruct.org/faq/#qualifier for more info.
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] Can't map property "Set<GroupMembershipDto> groupMemberships" to "Set<GroupMembership> groupMemberships". Consider to declare/implement a mapping method: "Set<GroupMembership> map(Set<GroupMembershipDto> value)".
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[42,10] Unknown property "memberIds" in result type Group. Did you mean "members"?
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.496 s
[INFO] Finished at: 2022-01-01T10:28:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project KnCare: Compilation failure: Compilation failure:
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] The type of parameter "dto" has no property named "memberIds".
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] Qualifier error. No method found annotated with @Named#value: [ toModelGroupMembership ]. See https://mapstruct.org/faq/#qualifier for more info.
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[35,11] Can't map property "Set<GroupMembershipDto> groupMemberships" to "Set<GroupMembership> groupMemberships". Consider to declare/implement a mapping method: "Set<GroupMembership> map(Set<GroupMembershipDto> value)".
[ERROR] /C:/Users/bilal.ladoui/KnCare/KnCare-Rest/src/main/java/com/knits/kncare/mapper/GroupMapper.java:[42,10] Unknown property "memberIds" in result type Group. Did you mean "members"?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
您在GroupM中得到一个编译错误apper.java.您能向我们展示这个类吗?你可能有一些运行时依赖问题,甚至铸造。
试着用完整的跟踪运行目标,并向我们展示它所说的:
mvn install -X
这样我们可以更准确地看到正在发生的事情。你能给我们看看你的pom吗。xml?
我们没有什么信息可以帮助您,请尝试为您的问题添加更多详细信息。
项目的GroupMapper类中存在编译错误。尝试修复它们或联系GIT存储库的所有者来修复损坏的分支。
您得到的是编译错误。首先修复编译错误,然后尝试构建项目。
我试图克隆一个后端项目并在本地运行:mvn install来创建jar文件,然后部署到aws,但即使java和maven安装正确,也会出现错误
我使用的是Maven 3.1.1。当我运行时,我收到以下错误: 我的< code>pom.xml是:
我使用NetBeans 8.0和JDK 1.8以及MySQL驱动程序5.1.31。 虽然清理和构建输出窗口显示错误- xml文件中第893行显示-
我检查了/m2/repository。但找不到任何相关的东西。
我正在我的Mac上安装APE(Ajax推送引擎)。但它在安装过程中给了我一个错误, 我的计算机上安装了gcc:给出了“gcc版本4.2.1(基于Apple Inc.build 5658)(LLVM build 2336.1.00)” 如何删除此错误?
我在使用PHP上传脚本时遇到了这个奇怪的问题。希望能得到别人的帮助。 以下是此问题的详细信息: 文档的根是“/var/www/html” PHP上传到名为"/var/www/html/上传"的文件夹效果很好 有另一个目录托管不同的网页在"/var/www/html/文件夹"相同的PHPupload.sh脚本不能上传文件到"/var/www/html/目录/文件夹"目录。 文件夹权限已设置为0777