在 Mule ESB 上使用 HTTP 时出错 canvas

Getting Error While Using HTTP on Mule ESB canvas

我只是想借助下面的视频编写一个 hello world 应用程序

https://www.youtube.com/watch?v=AUfUMXwzu24

我刚刚使用托盘中的 HTTP,它给我以下错误

"Required attribute config-ref is not defined in listener"
在 Anypoint studio 中它在下面的行

中显示错误
我正在使用 Anypoint studio 的 5.1.0 版本。

您缺少 http:listener-config 元素,例如:

<http:listener-config name="HTTP_Listener_Configuration" host="localhost" port="8081" doc:name="HTTP Listener Configuration"/>

参见:https://developer.mulesoft.com/docs/display/current/HTTP+Listener+Connector