lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: dismax and mm, number format exception
Date Tue, 30 Nov 2010 18:49:24 GMT
On 2010-11-30 19:07, Erick Erickson wrote:

> And on the subject of code: I just rebuilt the IDEA projects. Running
> SolrPluginUtilsTest tests from within the IDE gives:
> 
> java.lang.RuntimeException: java.lang.RuntimeException: Can't find
> resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=C:\apache_trunk
> 
> Does anyone have the magic readily available to fix this so I don't have
> to flounder? I can run the test from outside IntelliJ via ant just fine.

In Eclipse you need to add a parent folder that contains test resources
(solrconfig.xml etc) to your classpath, as a "class folder". I assume
IDEA has something similar.



-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message