【发布时间】:2018-08-02 02:23:44
【问题描述】:
我正在使用 Mule ESB 3.8.2,我在 Anypoint Studio 之外编译时收到此错误。 Bean 属性“enableNotifications”不可写或具有无效的 setter 方法。 setter 的参数类型是否与 getter 的返回类型匹配? 有人建议可能是什么?
【问题讨论】:
标签: properties mule javabeans esb
我正在使用 Mule ESB 3.8.2,我在 Anypoint Studio 之外编译时收到此错误。 Bean 属性“enableNotifications”不可写或具有无效的 setter 方法。 setter 的参数类型是否与 getter 的返回类型匹配? 有人建议可能是什么?
【问题讨论】:
标签: properties mule javabeans esb
在解决这个问题几个小时后,我找到了解决方案。 我们必须在插件上拥有的文件 pom.xml
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-apikit</artifactId>
</inclusion>
并且依赖项必须是我们正在处理的 mule 版本。
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-apikit</artifactId>`enter code here`
<version>${mule.version}</version>
</dependency>
我希望这对某人有所帮助。
【讨论】: