Lucee 7 - Solr 9 - working with the solrj api - failure instantiating java class

Using Lucee 7.0.1.100 up to the latest 7.1.0.43-BETA
Failing to instantiate the Http2SolrClient$Builder

Application.cfc

this.javasettings = {
			"loadPaths": [
				"/solrj",
			],
			"reloadOnChange": true,
			"watchInterval": 60,
			"watchExtensions": ["jar", "class"]
		};

solr.cfm

<cfscript>
    solrClient = new org.apache.solr.client.solrj.impl.Http2SolrClient$Builder("http://localhost:8983/solr/outputs")
    // .withHttpClient("org.apache.solr.client.solrj.impl.Http2SolrClient")
    .build();
    dump(solrClient);
</cfscript>

I have all of the solr library files in the /solrj location

When running without the commented //.withHttpClient I get the following error:

Lucee 7.0.1.100 Error (java.lang.NullPointerException)
Message	No Bundle provided
AI	For AI-driven exception analysis setup, see AI Setup Guide.
Stacktrace	The Error Occurred in
C:\dev\lucee\latest\solr.cfm: line 2
1: <cfscript>
2:     solrClient = new org.apache.solr.client.solrj.impl.Http2SolrClient$Builder("http://localhost:8983/solr/outputs")
3:     .build();
4:     dump(solrClient);

Java Stacktrace	lucee.runtime.exp.NativeException: No Bundle provided
 at java.base/java.util.Objects.requireNonNull(Unknown Source)

Removing the comment I get:

Lucee 7.0.1.100 Error (java.lang.NoSuchMethodException)
Message	No matching method for org.apache.solr.client.solrj.impl.Http2SolrClient$Builder.withHttpClient(string) found.
AI	For AI-driven exception analysis setup, see AI Setup Guide.
Stacktrace	The Error Occurred in
C:\dev\lucee\latest\solr.cfm: line 3
1: <cfscript>
2:     solrClient = new org.apache.solr.client.solrj.impl.Http2SolrClient$Builder("http://localhost:8983/solr/outputs")
3:     .withHttpClient("org.apache.solr.client.solrj.impl.Http2SolrClient")
4:     .build();
5:     dump(solrClient);

Java Stacktrace	lucee.runtime.exp.NativeException: No matching method for org.apache.solr.client.solrj.impl.Http2SolrClient$Builder.withHttpClient(string) found.
 at lucee.transformer.dynamic.meta.Clazz.getMethod(Clazz.java:108)

The first example works fine with the Boxlang engine.

The solrj library can be retrieved @ Solr Downloads - Apache Solr

Cheers
Pat

I’ve just tried the above with Lucee 6.2.4.24 and can confirm the first example does work with that server.

All trials were using commandbox implementations.