Exporting as png file works perfectly while running from Intellij IDEA.
I'm getting these errors when I run the code locally in terminal or in CI environment:
An exception occurred while executing the Java class. Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
...
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
...
Can't export plot to raster formats: NoClassDefFoundError "Could not initialize class org.apache.batik.anim.dom.SAXSVGDocumentFactory". Please add "lets-plot-image-export-<version>.jar" to your classpath.
Hi,
Exporting as
png
file works perfectly while running from Intellij IDEA.I'm getting these errors when I run the code locally in terminal or in CI environment:
An exception occurred while executing the Java class. Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
...javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
...Can't export plot to raster formats: NoClassDefFoundError "Could not initialize class org.apache.batik.anim.dom.SAXSVGDocumentFactory". Please add "lets-plot-image-export-<version>.jar" to your classpath.
pom.xml
:Code:
Command:
Java version locally: