Closed MatthewDynamic closed 5 months ago
On second thought, maybe this is the actual error.
jakarta.xml.bind.JAXBException: Implementation of Jakarta XML Binding-API has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException: org.glassfish.jaxb.runtime.v2.ContextFactory]
I have to ask though. Since I have been struggling to compile this code for multiple weeks now, is my approach incorrect? I am trying to follow the instructions at Src/java/README.md. Am I following the wrong path? Are there different resources I can use to get this stuff running?
Thank you Matthew Dugal
Thanks for the report! The slf4j and jaxb errors are fixed in this PR which should be reviewed and merged shortly: https://github.com/cqframework/clinical_quality_language/pull/1319
I took a look at the CQL examples and they are quite out of date, written for an earlier version of the spec. We'll have to go through and update those. That said, this should run cleanly for you now:
./cql-to-elm-cli/build/install/cql-to-elm-cli/bin/cql-to-elm-cli --input ../../Examples/CMS135_QDM.cql
It's a different example than you were using previously.
See #462 for examples being out of date.
That changed has been merged to master. Try the following:
gradlew build
./cql-to-elm-cli/build/install/cql-to-elm-cli/bin/cql-to-elm-cli --input ../../Examples/CMS135_QDM.cql
I am getting a
Failed to load class "org.slf4j.impl.StaticLoggerBinder"
Here is the command I am running.\cql-to-elm-cli\build\install\cql-to-elm-cli\bin\cql-to-elm-cli --input "..\..\Examples\ChlamydiaScreening_CQM.cql"
The full output is as follows:
I am new to this code and unsure whether the example files should actually work or not. But I cannot get any of my own CQL files to convert either.
Before this against the last code from master branch I was able to run
gradlew build
which only failed to build task :cql-to-elm:test andgradlew installDist
which executed successfully.Any advice appreciated, Matthew Dugal