zOn 3/7/24 06:00, Yvan Zo wrote:
I’m trying to upgrade from Solr 9.4.0 to 9.5.0, and I’m now getting the following WARN message in logs when starting the server.
<snip>
I use a custom XML response writer that imports classes from both ` jakarta.xml.bind` and `javax.xml.datatype`. It is built through Maven and the resulting JAR is put under `/opt/solr/lib/` in a Docker image based on the official Docker image `solr:9.5.0-slim` that embeds Temurin 17. It seems that this change of behavior might be related to the resolution of https://issues.apache.org/jira/browse/SOLR-17089 in Solr 9.5.0 but I’m not sure about it.
Chances are that your code is not compatible with the libraries that were upgraded in version 9.5. You probably need to compile it against the upgraded libraries, and I have no way of knowing if code changes are going to be required for that to work, but I would not be surprised if they are.
It is always a good idea to recompile custom jars when upgrading Solr to ensure that they are referencing correct library versions.
Thanks, Shawn
