Cloud Hub 部署中的 Mule 部署命名空间问题

Mule Deployment Namespace issue in Cloud Hub Deployment

Mule 版本 3.8.8

我正在尝试将 mule zip 包部署到云集线器平台中,在部署期间我遇到了以下错误,尽管任何一点工作室也遇到了同样的错误。

我已经创建了命名空间及其添加的 mule-app.properties #salesforce.namespace=myNp123

null
java.lang.IllegalArgumentException: Could not resolve placeholder 'salesforce.namespace' in string value "${salesforce.namespace}__"
    at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
    at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
    at org.springframework.util.SystemPropertyUtils.resolvePlaceholders(SystemPropertyUtils.java:80)
    at org.springframework.util.SystemPropertyUtils.resolvePlaceholders(SystemPropertyUtils.java:63)
    at org.mule.config.spring.parsers.specific.GlobalPropertyDefinitionParser.postProcess(GlobalPropertyDefinitionParser.java:42)
    at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.doParse(AbstractMuleBeanDefinitionParser.java:425)
    at 

如果属性文件中的行以 # 开头,则它是注释:

#salesforce.namespace=myNp123 

您需要删除评论

salesforce.namespace=myNp123 

部署到 CloudHub 时,您应该在 Runtime Manager / app / Setting / Properties tab.

中设置来自 mule-app.properties 的属性