JWT auth is not backported to 7.x and also requires changes to other core parts of Solr. So just dropping in the jars will not work.
I’d encourage you to upgrade to 8.x Jan Høydahl > 13. sep. 2019 kl. 19:54 skrev Tyrone Tse <tyrone...@hotmail.com>: > > I only copied the 2 jars > > - > > jwt-auth-1.0.0.jar > > - > > jose4j-0.6.3.jar > > > to the $SOLR_HOME/lib folder, to install the code for the > https://github.com/cominvent/solr-auth-jwt plugin > >> On Fri, Sep 13, 2019 at 11:55 AM Shawn Heisey <apa...@elyograg.org> wrote: >> >>> On 9/13/2019 10:30 AM, Tyrone Tse wrote: >>> When I check the solr.log file I am seeing the following error >>> >>> 2019-09-13 15:09:27.816 ERROR (main) [ ] o.a.s.s.SolrDispatchFilter >> Could >>> not start Solr. Check solr/home property and the logs >>> 2019-09-13 15:09:27.838 ERROR (main) [ ] o.a.s.c.SolrCore >>> null:java.lang.NoClassDefFoundError: >>> org/apache/solr/security/HttpClientBuilderPlugin >> >> That class should be in the solr-core jar. It was added in Solr 7.0, >> didn't exist before that. >> >> The error is particularly strange because the SolrCore class which >> logged the message is itself located in the solr-core jar. >> >> This problem can be caused by having multiple copies of the same jar, >> even the same version, in different places on the classpath. Only add >> extra jars to places like $SOLR_HOME/lib ... do not include jars for >> Solr itself there. >> >> Thanks, >> Shawn >>