Код: Выделить всё
def convert(inputFile, outputFile):
reader = ProjectReaderUtility.getProjectReader(inputFile)
project = ProjectFile()
project = reader.read(inputFile)
writer = ProjectWriter
writer = ProjectWriterUtility.getProjectWriter(outputFile)
writer.write(project, outputFile)
Код: Выделить всё
java.io.IOException: java.io.IOException: javax.xml.bind.JAXBException:
Implementation of JAXB-API has not been found on module path or classpath.
with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
Я использую Python 3.8 с jdk-15.0.2
Подробнее здесь: https://stackoverflow.com/questions/664 ... using-mpxj
Мобильная версия