首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >弹簧集成sftp发行

弹簧集成sftp发行
EN

Stack Overflow用户
提问于 2018-07-20 09:58:47
回答 1查看 507关注 0票数 0

我正在一个springboot项目1.5.10.RELEASE中工作。

我正在使用spring集成的sftp。在下面的gradle依赖项中,一切都很好

代码语言:javascript
复制
compile group: 'org.springframework.integration', name: 'spring-integration-core', version: '5.0.5.RELEASE'

compile "org.springframework.integration:spring-integration-core:4.3.5.RELEASE"

compile "org.springframework.integration:spring-integration-file:4.3.5.RELEASE"

compile group: 'org.springframework.integration', name: 'spring-integration-sftp', version: '5.0.5.RELEASE'

compile group: 'org.springframework.integration', name: 'spring-integration-ftp', version: '5.0.5.RELEASE'

我还将普罗米修斯集成到模块中。

代码语言:javascript
复制
compile "io.prometheus:simpleclient:${prometheusVersion}"

compile "io.prometheus:simpleclient_hotspot:${prometheusVersion}"

compile "io.prometheus:simpleclient_spring_boot:${prometheusVersion}"

compile group: 'io.prometheus', name: 'simpleclient_servlet', version:prometheusVersion

compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: springVersion

我已经完成了普罗米修斯的所有其他要求。但我没有得到普罗米修斯的指标。

项目中的所有其他服务都在使用prometheus,但没有使用spring集成,sftp和prometheus都在为它们工作。

我尝试了调试,发现将spring-integration-core更新为5.0.6。compile将修复prometheus的问题,但这样做,我就会继续获得编译时问题。

错误:无法访问CoreSubscriber handler.setRemoteDirectoryExpression(新LiteralExpression(sftpRemoteDirectory)); 注意:一些输入文件使用未经检查或不安全的操作。注意:有关详细信息,请使用-Xlint:unchecked重新编译。1个错误

请帮我处理这个。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-07-27 05:38:17

我把所有的东西都移到了5.0版。它现在开始工作了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51439991

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档