scalaxb错误:方法读取的代码太大

时间:2019-04-04 18:55:25

标签: xsd hl7-fhir scalaxb sbt-scalaxb

我正在使用带有scalaxb-sbt的scalaxb从provided XSD files生成hl7 FHIR规范类。

我收到以下错误:

[error] Could not write class hl7/org/fhir/XMLProtocol$DefaultHl7orgfhir_BackboneElementableFormat because it exceeds JVM code size limits. Method reads's too large!
[error] Could not write class hl7/org/fhir/XMLProtocol$DefaultHl7orgfhir_ElementableFormat because it exceeds JVM code size limits. Method reads's code too large! 

有没有办法告诉scalaxb在达到此限制时应该拆分方法?

0 个答案:

没有答案