On 4/24/2013 10:47 PM, Radhakrishna Repala wrote: > I'm new to solr, while deploying solr in weblogic got following exception. > Please help me in this regard. > > Error 500--Internal Server Error > > java.lang.NoSuchMethodError: replaceEach
The replaceEach method is included in Apache commons-lang 2.4 and later. The solr.war file contains a jar for this library, version 2.6 for the latest Solr versions. >From what I have been able to determine using Google, weblogic 10.3 uses an older version of the Apache commons-lang library, and that is taking precedence, so the version included in Solr is not being used. It looks like the solution is adding some config to the weblogic.xml file in the solr.war so that weblogic prefers application classes. I filed SOLR-4762. I do not know if this change might have unintended consequences. http://ananthkannan.blogspot.com/2009/08/beware-of-stringutilscontainsignorecase.html https://issues.apache.org/jira/browse/SOLR-4762 Thanks, Shawn