Troubleshooting: Solr fails to start after migrating to HCL Commerce Version 9.1

After migrating from HCL Commerce Version 9 to HCL Commerce Version 9.1, the search server fails to start.

Problem

After migrating from HCL Commerce Version 9 to HCL Commerce Version 9.1, the search server fails to start.

An error similar to the following is displayed in the Search server start-up logs:

[4/8/21 10:56:04:455 CDT] 00000039 W UOW= source=com.ibm.commerce.cf.rest.SimpleApplication class=com.ibm.commerce.cf.rest.SimpleApplication method=SimpleApplication(@Context ServletConfig servletConfig) org= prod= component=
io.micrometer.core.instrument.config.MeterFilter
java.lang.NoClassDefFoundError: io.micrometer.core.instrument.config.MeterFilter
at com.ibm.commerce.search.rest.AbstractSearchResource.<clinit>(AbstractSearchResource.java:619)

Solution

Adding the following line to the list of features in the Search server server.xml configuration file:
<feature>usr:micrometer-1.3.5</feature>