Hi Gus Heck,
To give you background, As we came to know that we have vulnerabilities in
org.apache.solr.solr-core dependency(8.11.2 which we are using currently), We
had to upgrade it to 9.6.0. When we upgraded the dependency version and tried
to build our source code, We are getting the below error from one of our source
code classes as SolrRequestParsers class is not accessisible.
FYI, We have both solr-core and solrj dependency in our pom.
Error:
java: cannot access org.apache.solr.servlet.SolrRequestParsers
bad class file:
/C:/Users/10688521/.m2/repository/org/apache/solr/solr-core/9.6.0/solr-core-9.6.0.jar!/org/apache/solr/servlet/SolrRequestParsers.class
class file has wrong version 55.0, should be 52.0
-----Original Message-----
From: Gus Heck <[email protected]>
Sent: Thursday, May 16, 2024 8:40 PM
To: [email protected]
Subject: Re: Cant access SolrRequestParsers
<External Email>
Hi KrishnaVamsi,
Can you tell us a little bit more about how you are using it? You say you are
upgrading a client, but (as indicated by the package name)
org.apache.solr.servlet.SolrRequestParsers is a server side class, so it's not
quite clear why you are getting this from a client. Is this a problem in custom
code that you wrote?
Also the Solr Java client (SolrJ) is in the
https://urldefense.com/v3/__https://search.maven.org/artifact/org.apache.solr/solr-solrj/9.6.0/jar__;!!CxwJSw!NpX0h0Lr-jKIBah4-Mrq2erlbksHoadqlJVBRg8AOtjZd9JoTfwxRRw06ZcR0PhXPbEWdPjrJGY3Lq8-_B8tf-j3BBjJtQ$
package, not solr-core so you may also be importing the wrong package?
-Gus
On Thu, May 16, 2024 at 9:30 AM Mugi, Krishnavamsireddy <
[email protected]> wrote:
> Hi Team,
>
> We are upgrading our solr-client(org.apache.solr.solr-core) from
> 8.11.2 to 9.6.0, After upgrading the client, we are getting below
> error. Kindly help us on this error.
>
> Error: cannot access org.apache.solr.servlet.SolrRequestParsers
>
> Is there any alternative way to access SolrRequestParsers class in
> 9.6.0 solr client version. Please let us know.
>
> Thanks&Regards
> KrishnaVamsi
>
--
https://urldefense.com/v3/__http://www.needhamsoftware.com__;!!CxwJSw!NpX0h0Lr-jKIBah4-Mrq2erlbksHoadqlJVBRg8AOtjZd9JoTfwxRRw06ZcR0PhXPbEWdPjrJGY3Lq8-_B8tf-jEazkPPQ$
(work)
https://urldefense.com/v3/__https://a.co/d/b2sZLD9__;!!CxwJSw!NpX0h0Lr-jKIBah4-Mrq2erlbksHoadqlJVBRg8AOtjZd9JoTfwxRRw06ZcR0PhXPbEWdPjrJGY3Lq8-_B8tf-gpIlMJng$
(my fantasy fiction book)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]