Login  Register

Re: No GeometryService implementation found (Font3D related!)

Posted by unixnerd on Nov 10, 2023; 1:30pm
URL: https://forum.jogamp.org/No-GeometryService-implementation-found-Font3D-related-tp4043127p4043129.html

Sorry, really at a roadblock with this. The code that's causing the exception is:

private GeometryService newGeometryService() {
	final ServiceLoader<GeometryService> gsLoader =
		ServiceLoader.load(GeometryService.class);

	final Iterator<GeometryService> iter = gsLoader.iterator();
	if (iter.hasNext()) return iter.next();

	throw new IllegalStateException("No GeometryService implementation found. "
		+ "Please add j3d-core-utils to the classpath.");
}

Can I put something in my code to load the relevant class before calling Text3D?