我正在尝试使用https://api.abs.uat.valitor.com/external/MerchantApiWS.svc?WSDL从wsdl(play-soap)生成scala + java类,但出现错误IMerchantApiWS.java:31:1: javax.xml.ws.Action is not a repeatable annotation type
。
它很容易复制,我的build.sbt
中只有以下内容:
version := "0.1"
scalaVersion := "2.12.6"
libraryDependencies += "com.typesafe.play" %% "play" % "2.6.17"
WsdlKeys.wsdlUrls in Compile += url("https://api.abs.uat.valitor.com/external/MerchantApiWS.svc?WSDL")
还有plugins.sbt
:
resolvers += Resolver.url("play-sbt-plugins", url("https://dl.bintray.com/playframework/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.typesafe.sbt" % "sbt-play-soap" % "1.1.4")
我遵循了这个自述文件:https://github.com/playframework/play-soap
我做错什么了吗?