[英]MessageBodyReader not found for media type=application/json;charset=utf-8
While deploying my Mule project with Mule runtime 4.3.0 to cloudhub through maven, i am getting below exception:在通过 maven 将我的 Mule 项目和 Mule 运行时 4.3.0 部署到 cloudhub 时,我遇到了以下异常:
Execution default-deploy of goal org.mule.tools.maven:mule-maven-plugin:3.3.5:deploy failed: MessageBodyReader not found for media type=application/json;charset=utf-8, type=class org.mule.tools.client.arm.model.AuthorizationResponse, genericType=class org.mule.tools.client.arm.model.AuthorizationResponse.目标 org.mule.tools.maven 的执行默认部署:mule-maven-plugin:3.3.5:deploy failed: MessageBodyReader not found for media type=application/json;charset=utf-8, type=class org.mule .tools.client.arm.model.AuthorizationResponse,genericType=class org.mule.tools.client.arm.model.AuthorizationResponse。
Any help will be appreciated.任何帮助将不胜感激。 Thanks Vikas
谢谢维卡斯
The fact that it works with Java 8 indicates it is some Java compatibility issue.它适用于 Java 8 的事实表明它存在一些 Java 兼容性问题。
Mule Maven Plugin supports only until Java 11. See the release notes for your version to see software compatibility: https://docs.mulesoft.com/release-notes/mule-maven-plugin/mule-maven-plugin-release-notes Mule Maven 插件只支持到 Java 11。请参阅您版本的发行说明以查看软件兼容性: https : //docs.mulesoft.com/release-notes/mule-maven-plugin/mule-maven-plugin-release-notes
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.