ERROR [ballerina/http/2.6.2::http_annotation.bal:(60:19,60:36)] annotation declaration requires a subtype of 'true', 'map<value:Cloneable>' or 'map<value:Cloneable>[]', but found 'ballerina/http:2.6.2:HttpServiceConfig'
ERROR [ballerina/http/2.6.2::http_request_context.bal:(88:17,88:41)] invalid return type: members of a dependently-typed union type with an inferred typedesc parameter should have disjoint basic types
error: compilation contains errors
确保芭蕾舞演员和所有依赖关系都是最新的ran bal Clean和Bal构建以进行干净的建筑 ver ver ver AWS S3模块与我的芭蕾舞演员分布兼容。
通过删除不必要的导入来溶解S3功能,但错误持续存在。
问题
1。当我的代码仅使用AWS S3模块时,为什么我会遇到与HTTP相关的错误?aws.s3
模块和
http
HttpServiceConfig
I使用Ballerina最新版本测试了上述代码。 它没有任何错误进行编译。 plaplease执行以下步骤并再次编译
删除
2201.12.0
文件
runrun