OyvindLGjesdal opened a new issue, #2161: URL: https://github.com/apache/jena/issues/2161
### Version 4.10.0 ### What happened? The artefact downloaded from maven for the service enhancer return class not found, when dropped into the extra folder. This happens when running fuseki as a service, and loading the service enhancer from a configuration file, while downloading the 4.10.0 ServiceEnhancer artefact from maven. Is it the order of the class loading? I see guava was added for use not that long ago, would it make sense to add the dependency to the service-enhancer pom.xml? to ensure that it is loaded, or could it be that it is my user error? from the docs: > The SE plugin can be manually built or downloaded from maven central (it is self-contained without transitive dependencies). Placing it into the run/extra folder makes it available for use with Fuseki. The plugin and Fuseki versions should match. Command used to startup fuseki: ``` /opt/fuseki/fuseki-server ``` ### Relevant output and stacktrace ```shell Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/cache/CacheBuilder Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.sparql.service.enhancer.impl.ServiceResponseCache.<init>(ServiceResponseCache.java:59) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.sparql.service.enhancer.impl.ServiceResponseCache.<init>(ServiceResponseCache.java:53) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.sparql.service.enhancer.init.ServiceEnhancerInit.init(ServiceEnhancerInit.java:90) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.sparql.service.enhancer.init.ServiceEnhancerInit.start(ServiceEnhancerInit.java:81) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.base.module.Subsystem.lambda$initialize$1(Subsystem.java:117) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:193) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.base.module.Subsystem.forEach(Subsystem.java:169) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.base.module.Subsystem.initialize(Subsystem.java:115) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.sys.JenaSystem.init(JenaSystem.java:89) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at arq.cmdline.CmdARQ.<clinit>(CmdARQ.java:29) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:65) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: Caused by: java.lang.ClassNotFoundException: com.google.common.cache.CacheBuilder Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) Jan 05 11:12:01 sparql.ub.uib.no fuseki-server[92517]: ... 12 more ``` ### Are you interested in making a pull request? None -- 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]
