Help with installing SOLRJ jar and dependencies? | Community
Skip to main content
October 16, 2015
Solved

Help with installing SOLRJ jar and dependencies?

  • October 16, 2015
  • 2 replies
  • 1111 views

Thanks in advance for any info,

We've been able to build an OSGI bundle for a SOLRJ jar and even get our classes using the SOLRJ classes to compile successfully.  However, we were not able to actually use SOLJR during runtime due to missing dependencies.  SOLRJ requires the list of following dependencies 

  • commons-httpclient-3.1.jar
  • wstx-asl-3.2.7.jar
  • slf4j-api-1.5.5.jar
  • commons-codec-1.3.jar
  • stax-api-1.0.1.jar
  • geronimo-stax-api_1.0_spec-1.0.1.jar
  • commons-logging-1.0.4.jar
  • commons-io-1.4.jar
  • commons-fileupload-1.2.1.jar

We're wondering what is the best way to import these jars, getting OSGI compatible bundles and actually import them within CQ5.  We've tried building our own bundles for these jars but we've had no luck in actually getting it to work.

Any help would be much appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alvawb

Some of the information in this thread may be useful: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__ucgf-is_there_anydocumen.html (including some links to documentation)

Please feel free to open a support ticket if none of the information helps you.

2 replies

Level 2
October 16, 2015

Can you try by adding this in your pom file?

<dependency>

                <groupId>org.apache.servicemix.bundles</groupId>

                <artifactId>org.apache.servicemix.bundles.solr-solrj</artifactId>

                <version>4.xx</version>

            </dependency>

alvawbCommunity ManagerAccepted solution
Community Manager
October 16, 2015

Some of the information in this thread may be useful: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__ucgf-is_there_anydocumen.html (including some links to documentation)

Please feel free to open a support ticket if none of the information helps you.