如何使用 gradle 5 从 Java 11 中的 WSDL 生成类?
我正在使用 wsimport seeber 插件,但它看起来在 java 11 中不起作用
dependencies {
classpath "gradle.plugin.me.seeber.gradle:gradle-wsimport-plugin:1.1.1"
}
Run Code Online (Sandbox Code Playgroud)
在 Intelij Idea 我得到:
- 出了什么问题:配置项目“:ReturnRedirectWorker-api”时出现问题。
执行模型规则时抛出异常:WsimportPlugin.PluginRules#createWsdlSourceSets(ModelMap, FileOperations) > create(wsdlMain) > create(wsdl) 无法创建 WsdlSourceSet 类型的 LanguageSourceSet
有没有办法合并多个错误信号?例如:
return Mono.zipDelayError(
monoOne(), //throws ValidationException with list of validation details 1
monoTwo(),
monoThree() //throws ValidationException with list of validation details 2
)
.then();
}
Run Code Online (Sandbox Code Playgroud)
因此,我想返回 ValidationException 以及合并的验证详细信息列表