Symptom
When DXP 7.2 is configured with Solr 7 and your patch level is Service Pack 1 (SP1) or Fix Pack 2 (FP2) or higher, the following error is thrown in the console when starting DXP and the Solr 7 connector cannot be activated:
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.solr7.impl [904]_ Unresolved requirement: Import-Package: com.liferay.portal.search.engine.adapter.cluster; version="[1.1.0,1.2.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
You have to install Liferay's Solr 7 connector version 2.0.1 or higher from Marketplace.
Related Articles
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In