Skip to content
carlosame edited this page Aug 27, 2022 · 13 revisions

FAQ

Distribution

Is this project available from Maven Central?

No it is not, as its maintainer does not accept Maven Central's Terms of Use. The distribution is through the css4j Maven repository instead.


Modules

Where is the echosvg-codec jar file?

The codec and transcoder jar files were a bit entangled in Apache Batik, as they have a runtime circular dependency there. And that often confused people, see:

so in EchoSVG, both modules were merged. As a result, there is no codec module or Jar file. You only need echosvg-transcoder.


[0.1.x only] java.lang.module.FindException: Module xalan not found, required by io.sf.carte.echosvg.dom

The module system is refusing to create a filename-based module name from the Xalan jar file because it is finding a declaration of a non-existent service provider.

The solution is to upgrade to EchoSVG 0.2 or later (that do not depend on Xalan) but if you cannot do that, the workaround is to use a plugin to force the declaration of a module name.

With Gradle you can use either the extra-java-module-info plugin:

plugins {
  id 'org.gradlex.extra-java-module-info' version '1.0'
}

extraJavaModuleInfo {
  failOnMissingModuleInfo.set(false)
  automaticModule('xalan:xalan', 'xalan')
}

or the moditect-gradle-plugin.

With Maven, you could use the Moditect Maven plugin.

Clone this wiki locally