rsteppac
05/29/2024, 2:13 PMjakarta.xml.bind.JAXBContext.newInstance(a.class.generated.with.xjc.MyType::class.java)
The error is
> e: file///path/to/kotlin/class/XMLParser.kt520:56 None of the following candidates is applicable:
> static fun newInstance(p0: String!): JAXBContext!
> static fun newInstance(vararg p0: Class*!): JAXBContext!
If I replace the class argument with the string, then this line compiles, but compilation fails on the next line that uses API that takes a class argument (jakarta.xml.bind.Unmarshaller::unmarshal
)Adam S
05/29/2024, 5:47 PMrsteppac
05/30/2024, 9:28 AM