title: Can't find resource 'solrconfig.xml' in classpath in solr
body: <p>problem</p>
  
  <ul>
  <li>i cannot access solr admin page.</li>
  <li>when i run url on localsystem: 
  <a href="http://localhost:8983/solr/admin/cores?action=CREATE&amp;name=new_core&amp;configSet=basic_configs" rel="noreferrer">http://localhost:8983/solr/admin/cores?action=CREATE&amp;name=new_core&amp;configSet=basic_configs</a></li>
  </ul>
  
  <p>response</p>
  
  <pre><code>    &lt;response&gt;
      &lt;lst name="responseHeader"&gt;
      &lt;int name="status"&gt;400&lt;/int&gt;
      &lt;int name="QTime"&gt;17&lt;/int&gt;
      &lt;/lst&gt;
      &lt;lst name="error"&gt;
      &lt;str name="msg"&gt;
      Error CREATEing SolrCore 'new_core': Unable to create core: new_core Caused by: Can't find resource 'solrconfig.xml' in classpath or '/var/lib/tomcat7/solr/new_core/conf'
      &lt;/str&gt;
      &lt;int name="code"&gt;400&lt;/int&gt;
      &lt;/lst&gt;
      &lt;/response&gt;
  </code></pre>
  
  <ul>
  <li><p>i have reffered link : <a href="https://wiki.apache.org/solr/CoreAdmin" rel="noreferrer">https://wiki.apache.org/solr/CoreAdmin</a></p></li>
  <li><p>solr.xml  code</p>
  
  <pre><code>&lt;solr persistent="false"&gt;
      &lt;cores adminPath="/admin/cores"&gt;
          &lt;core name="afeef" instanceDir="afeef" /&gt;
      &lt;/cores&gt;
  &lt;/solr&gt;
  </code></pre></li>
  </ul>
  
  <p>error:</p>
  
  <pre><code>  SolrCore Initialization Failures
      afeef: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config file /var/lib/tomcat7/solr/afeef/solrconfig.xml
      coreX: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config file /var/lib/tomcat7/solr/path_to_instance_directory/config_file_name.xml
      new_core: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load config file /var/lib/tomcat7/solr/new_core/solrconfig.xml
  </code></pre>
  
  <ul>
  <li><p>when i run this cmd</p>
  
  <p>ps aux|grep java</p>
  
  <p>tomcat7  23192  0.7  2.0 2579744 161852 ?      Sl   16:22   0:11 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
  mohd     24047  0.0  0.0  15948  2276 pts/14   S+   16:45   0:00 grep --color=auto java</p></li>
  <li><p>it was working properly suddenly it throws error .</p></li>
  </ul>