Hello! I was trying to test the schema validation ...
# nextflow-plugins
j
Hello! I was trying to test the schema validation plugin to update it to the current nf-core schema, but I’m not able to test it locally. I am following the instruction in the README file, but I get a Java error
Copy code
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jgit/api/errors/GitAPIException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Do you know how I can solve this? Thanks!!
j
This means that you are using Java 8 (52.0) but you need at least Java 11 (55.0)
p
true, however the build script was a bit outdated
I’ve updated it, now it’s able to find automatically the right version of java (🤞)
Please refresh your local copy the project and try if again
j
It’s working now, thank you! 🙂
I started working on this nf-validation plugin with a PR https://github.com/nextflow-io/nf-validation/pull/5 It would be great if I can get some input as I am neither familiar with Groovy nor nextflow plugins Let’s see if we can start using it in nf-core pipelines soon! 🙂