DXP 7.3 FP2+ requires Liferay Connector to Solr 8 v4.0.1 to fix "BundleException: Could not resolve module: com.liferay.portal.search.solr8.impl _ Unresolved requirement" error

Environment

  • Liferay DXP 7.3 FP2+
  • Liferay Connector to Solr 8 v4.0.0

Symptom

After installing Fix Pack 2 or higher on DXP 7.3 where the v4.0.0 version of the Solr 8 connector has been installed previously, the following error is thrown at startup and the Solr 8 connector cannot be activated properly:

2021-07-09 12:42:05.496 ERROR [Framework Event Dispatcher: Equinox Container: 13c8d11e-3b13-46dd-92c7-07023a176a5b][Framework:93] FrameworkEvent ERROR 
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.solr8.impl [1656]_  Unresolved requirement: Import-Package: com.liferay.portal.search.engine.adapter.search; version="[4.3.0,4.4.0)"_ [Sanitized]
	at org.eclipse.osgi.container.Module.start(Module.java:444)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Resolution

Please, install Liferay Connector to Solr 8 v4.0.1 from Marketplace. For detailed compatibility information including the compatible Solr 8 minor versions and required patch levels, see the Search Engine Compatibility Matrix.

Was this article helpful?
0 out of 0 found this helpful