No compatible service: org.scijava.service.SciJavaService

I am running mvn -X -e clean compile assembly:single on the project https://github.com/srkazi/AGImgClustering
It builds fine, but when I run the jar as java -jar GLCMClustering-jar-with-dependencies.jar I get this error:

[WARNING] Class pool is empty: forgot to call Thread#setClassLoader?
Exception in thread “main” java.lang.IllegalArgumentException: No compatible service: org.scijava.service.SciJavaService
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:243)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:170)
at org.scijava.Context.(Context.java:279)
at org.scijava.Context.(Context.java:235)
at org.scijava.Context.(Context.java:175)
at org.scijava.Context.(Context.java:161)
at net.imagej.ImageJ.(ImageJ.java:77)
at kz.ag.GLCMClusterization.main(GLCMClusterization.java:14)

The question is, how to fix this and get an uber-jar that can be shipped as “click-and-run” Java application?

Thanks!

Did you find a solution for this problem as I am having the same warning but different logs my post