grobid-dictionaries icon indicating copy to clipboard operation
grobid-dictionaries copied to clipboard

JAXB dependency

Open Moarc opened this issue 4 years ago • 0 comments

You may want to look into adding a dependency for JAXB. From what I get, it's been removed from the default JDK distribution as of Java 9, and trying to build grobid-dictionaries with that version of Java (or newer) results in errors. For what it's worth, adding something like

<dependency>
  <groupId>javax.xml.bind</groupId>
  <artifactId>jaxb-api</artifactId>
  <version>2.3.1</version>
</dependency>

<dependency>
  <groupId>org.glassfish.jaxb</groupId>
  <artifactId>jaxb-runtime</artifactId>
  <version>2.3.1</version>
</dependency>

to pom.xml (as per https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j) allows grobid-dictionaries to build and run properly.

Moarc avatar Jun 25 '20 00:06 Moarc