[ 
https://issues.apache.org/jira/browse/SOLR-10868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045757#comment-16045757
 ] 

Noble Paul edited comment on SOLR-10868 at 6/11/17 12:14 AM:
-------------------------------------------------------------

you will need shut down idea, 

and run

{code}
ant clean-idea idea
{code}

and restart idea


was (Author: noble.paul):
you will need shut down idean, 

and run

{code}
ant clean-idea idea
{code}

and restart idea

> Cannot run tests in IntelliJ
> ----------------------------
>
>                 Key: SOLR-10868
>                 URL: https://issues.apache.org/jira/browse/SOLR-10868
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: master (7.0)
>            Reporter: Erick Erickson
>
> SOLR-10647 moved a bunch of files from core to solrJ. As a result, they are 
> no longer found when running tests from within IntelliJ. The error I get is:
> java.lang.RuntimeException: invalid API spec: apispec/cluster.json
>       at 
> __randomizedtesting.SeedInfo.seed([D735CBF9DE40D88C:88E874E66B342C33]:0)
>       at 
> org.apache.solr.common.util.ValidatingJsonMap.parse(ValidatingJsonMap.java:318)
>       at org.apache.solr.common.util.Utils.lambda$getSpec$0(Utils.java:310)
> The files are in ./solr/core/src/resources/apispec which moved to 
> ./solrj/src/resources/apispec
> If I manually copy 
> ./solrj/src/resources/apispec/*
> to
> ./idea-build/solr/solr-core/classes/java/apispec
> whenever I execute "ant idea" then tests run.
> "ant test" runs even without the copy of course.
> This does _not_ affect 6x



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to