JAXB problems in Java 9 #838
Comments
Hi @johngrimes , I'm definitely not opposed to fixing this by adding the dependencies they suggest... but I'm actually confused at why this is even an issue. As far as I know we have nothing in the tool that uses JAXB. Is there a stack trace or any kind of error being outputted that hints at where JAXB is getting used? BTW- this is super cool. I'm a Homebrew user myself and I had no idea you had created a cask for the CLI. :) Any objections if I link to it from the HAPI FHIR website? |
Well, hopefully I can decommission my repo shortly. Once we fix this error, the pull request to have it merged into hombrew-core should be accepted, and people will be able to Here is the stack trace:
|
Ahhhh, it's Phloc's fault. Well then. :) Fix incoming. |
There appears to be some problems with JAXB in Java 9.
Take a look at these CI build results, which contains the results of trying to validate a resource using the hapi-fhir-cli on Mac OS X with Java 9:
https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/17367/
I did a bit of Googling, and found that these APIs may have now been moved to Java EE, and the fix may be to include them as explicit dependencies.
https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j
The text was updated successfully, but these errors were encountered: