开发者社区 > 云原生 > 正文

请问各位有无遇到配置了telnetPort,但是很奇怪出现下面的错误。Caused by: java

请问各位有无遇到配置了telnetPort,但是很奇怪出现下面的错误。Caused by: java.lang.IllegalArgumentException: Cannot convert value [-1] from source type [Integer] to target type [int] at com.taobao.arthas.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:97) at com.taobao.arthas.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:62) at com.taobao.arthas.core.env.ArthasEnvironment.getProperty(ArthasEnvironment.java:101) at com.taobao.arthas.core.config.BinderUtils.inject(BinderUtils.java:53)

展开
收起
云上静思 2022-08-30 17:20:57 558 0
1 条回答
写回答
取消 提交回答
  • 回答4.png

    跟值无关,就是不支持Integer转int

    此答案来自钉钉群“Arthas开源交流群”

    2022-08-30 17:41:11
    赞同 展开评论 打赏
问答分类:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载