Mulesoft 项目构建字段由于 {db::config.db.name)

问题描述 投票:0回答:1

我在运行 mule 项目时遇到以下错误,如何修复?请问有人可以帮助我吗?

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.385 s
[INFO] Finished at: 2024-05-01T19:15:50+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.8.2:process-classes (default-process-classes) on project locations-sys-api: Fail to compile: Referenced component '${secure::db.config.name}' must be one of stereotypes [DB:CONFIG]. -> [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
mule dataweave mulesoft
1个回答
0
投票

也许您的

db.config.name
未在当前属性文件中定义,或者该文件未使用安全属性配置进行处理。

© www.soinside.com 2019 - 2024. All rights reserved.