title: Cannot post to a core in solr using SimplePostTool
body: <p>I am new to using solr. I currently have solr running on <code>http://localhost::8983/solr</code>.
  My goal is to index numerous files. I have verified that the core I'm trying to post to exists by listing all cores in solr,I used the method explained <a href="https://stackoverflow.com/questions/6668534/how-can-i-get-a-list-of-all-the-cores-in-a-solr-server-using-solrj">here</a></p>
  
  <p>I also understand that to post to a specific core using SimplePostTool, one must use <code>java -Durl=http://localhost:8983/solr/&lt;corename&gt;/update -jar post.jar &lt;filename&gt;</code></p>
  
  <p>The issue, however, is that I get the following error.</p>
  
  <pre><code>SimplePostTool version 1.5
  Posting files to base url http://localhost:8983/solr/collection1/update using content-type application/xml..
  POSTing file tmpzWztTN
  SimplePostTool: WARNING: Solr returned an error #404 Not Found
  SimplePostTool: WARNING: IOException while reading response: java.io.FileNotFoundException: http://localhost:8983/solr/collection1/update
  1 files indexed.
  COMMITting Solr index changes to http://localhost:8983/solr/collection1/update..
  SimplePostTool: WARNING: Solr returned an error #404 Not Found for url http://localhost:8983/solr/collection1/update?commit=true
  Time spent: 0:00:00.023
  </code></pre>
  
  <p>Since I have verified that the core, <code>collection1</code>, exists, why does it say the url cannot be found? What am i missing? How does one fix this?</p>