rvesse commented on issue #1556: URL: https://github.com/apache/jena/issues/1556#issuecomment-1259605036
I'm not familiar with Gradle but it looks like you are maybe building a fat JAR with all your dependencies in it? If this is the case then you are likely running into an issue that Jena initialisation is driven by `ServiceLoader` where each separate Jena library has a file in `META-INF/services` defining the system initialisers it uses. Your repackaging is likely picking only one of files (because the `ServiceLoader` mechanism requires they have the same name in every library JAR file) thus resulting in partial initialisation. See https://jena.apache.org/documentation/notes/jena-repack.html for notes on how to successfully repack Jena into a fat JAR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
