On 6/17/2020 1:33 AM, Krönert Florian wrote:
2020-06-17T07:06:55.121856339Z java.lang.NoClassDefFoundError: Failed to
initialize Apache Solr: Could not find necessary SLF4j logging jars. If
using Jetty, the SLF4j logging jars need to go in the jetty lib/ext
directory. For other containers, the corresponding directory should be
used. For more information, see: http://wiki.apache.org/solr/SolrLogging
It seems that only when using the http appender these jars are needed,
without this appender everything works.
There must be some aspect of your log4j2.xml configuration that requires
a jar that is not included with Solr.
Can you point me in the right direction, where I need to place the
needed jars? Seems to be a little special since I only access the
/var/solr mount directly, the rest is running in docker.
If there are extra jars needed for your logging config, they should go
in the server/lib/ext directory, which should already exist and contain
several jars related to logging.
Thanks,
Shawn