SBT Play SOAP-javax.xml.ws.Action不是可重复的注释类型

时间:2018-08-01 13:23:54

标签: java scala soap playframework sbt

我正在尝试使用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

我做错什么了吗?

0 个答案:

没有答案