我正在使用mule esb将文件从ftp传输到本地目录。我没有使用标准FTP连接器,而是使用extended one。
我收到错误:
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://localhost/schemaftpext/mule-ftpext.xsd'.
其实我是Mule ESB的新手,所以我不知道什么是网址“http://localhost/schemaftpext/mule-ftpext.xsd”这样说。我需要在localhost中放任何东西吗?
仅供参考:我使用的示例是“http://code.google.com/p/mule-ftpext/source/browse/trunk/Test/mule-config.xml?spec=svn23&r=23”。我该怎么做该localhost URL?
答案 0 :(得分:4)
http://localhost/schemaftpext/mule-ftpext.xsd只是一个模式URI位置:不需要在那里有任何可用的东西,它只是用作标识符。 Mule的配置加载程序将在加载时将此URI解析为实际位置。实际位置在ftpExt-1.0-SNAPSHOT.jar。
之内现在这意味着您需要拥有Mule类路径中的ftpExt-1.0-SNAPSHOT.jar。是这样的吗?