IHTSDO / snomed-query-service

An implementation of the SNOMED CT Expression Constraint Language.
Other
26 stars 9 forks source link

Error loading realease of snomed #9

Closed Allae-Ghayat closed 10 months ago

Allae-Ghayat commented 10 months ago

I am trying to load a version of snomed to test the application to see how the ecl works but I get an error when executing the command. Any suggestions?

image
Allae-Ghayat commented 10 months ago

I don't know which release ti pick so I picked a spanish version

pgwilliams commented 10 months ago

Ah, I suspect we're still seeing issues dropping out as we've shifted from Java 11 to Java 17.

What version of Java are you using there @Allae-Ghayat ? Type java --version to find out.

Could you try adding --add-opens java.base/java.lang=ALL-UNNAMED as a command line parameter just after the -Xms3g ?

Allae-Ghayat commented 10 months ago

Good morning, I've managed to fix it, thank you very much.

CoderMChu commented 10 months ago

@Allae-Ghayat Can you check out the latest version in GitHub and run java -Xms3g -jar snomed-query-service-4.0.0-exec.jar --loadRelease= See more information in https://github.com/IHTSDO/snomed-query-service/blob/master/README.md

pgwilliams commented 10 months ago

Oh that's great @Allae-Ghayat. What did you do to fix it please?

Allae-Ghayat commented 10 months ago

I was trying to load the terminology with the .jar but I decided to download the source code and import it through an IDE, I used eclipse to import it. I don't know why it let me import it with the source code and I had problems with the jar, but I needed the source code to debug how to work with the ECL so it was good for me to download it. Un saludo

Allae-Ghayat commented 10 months ago

l