Hi, Thanks this works!
I also yesterday try to make new instance of SOLR and I find bug in my configuration. When i copied files to SOLR_HOME/../dist/ and also i input in configuration directive to contrib they have some collision. My configuration now is SOLR_HOME/xxxx/conf/solrconfig.xml: <config> <lib dir="../../../contrib/velocity/lib" /> <lib dir="../../../dist/" regex="apache-solr-velocity-\d.*\.jar" /> <lib path="../../../dist/lucene-stempel-3.5.0.jar" /> <lib path="../../../dist/apache-solr-analysis-extras-3.5.0.jar" /> .... </config> And everything works. Thanks for replay. Best, Piotr Sikora On 16 March 2012 10:39, Chantal Ackermann <chantal.ackerm...@btelligent.de>wrote: > > Hi, > > I put all those jars into SOLR_HOME/lib. I do not specify them in > solrconfig.xml explicitely, and they are all found all right. > > Would that be an option for you? > > Chantal > > > On Thu, 2012-03-15 at 17:43 +0100, ViruS wrote: > > Hello, > > > > I just now try to switch from 3.4.0 to 3.5.0 ... i make new instance and > > when I try use same config for adding libaries i have error. > > SEVERE: java.lang.NoClassDefFoundError: > > org/apache/lucene/analysis/TokenStream > > This error only show when i use polish stempel. > > In config i have set (solr/vrs/conf/solrconfig.xml): > > <lib path="../../../dist/lucene-stempel-3.5.0.jar" /> > > <lib path="../../../dist/apache-solr-analysis-extras-3.5.0.jar" /> > > > > > > When I start Solr is adding path: > > INFO: Adding specified lib dirs to ClassLoader > > 2012-03-15 17:35:51 org.apache.solr.core.SolrResourceLoader > > replaceClassLoader > > INFO: Adding > > 'file:/home/virus/appl/apache-solr-3.5.0/dist/lucene-stempel-3.5.0.jar' > to > > classloader > > 2012-03-15 17:35:51 org.apache.solr.core.SolrResourceLoader > > replaceClassLoader > > INFO: Adding > > > 'file:/home/virus/appl/apache-solr-3.5.0/dist/apache-solr-analysis-extras-3.5.0.jar' > > to classloader > > > > Same problem I have witch Velocity > > In config (solr/ac/conf/solrconfig.xml: > > <lib dir="../../../contrib/velocity/lib" /> > > ... > > <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter" > > enable="true"/> > > > > When I satrt have this error: > > SEVERE: org.apache.solr.common.SolrException: Error Instantiating > > QueryResponseWriter, solr.VelocityResponseWriter is not a > > org.apache.solr.response.QueryResponseWriter > > INFO: Adding specified lib dirs to ClassLoader > > 2012-03-15 17:40:17 org.apache.solr.core.SolrResourceLoader > > replaceClassLoader > > INFO: Adding > > > 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-tools-2.0.jar' > > to classloader > > > > > > > > Full start log here: http://piotrsikora.pl/solr.log > > > > > > Thanks in advanced! > > > > -- Piotr (ViruS) Sikora vi...@cdt.pl svi...@gmail.com JID: vi...@ipc.net.pl