I am working on Apache solr for indexing data by using java programming.
For Indexing data i used tomcat server and i started solr, i prepared url for indexing data. i given that url in any browser it's working (indexed the data). I given the prepared url in URL calss i got the HTTP Version Not Supported and the error code is 505.
My Code is as follows
* To change this template, choose Tools | Templates
* and open the template in the editor.
You have a HTTP version mismatch. That is your server doesn't support the version your client is sending. What server version are you using? It sounds like it is a very old version or is misconfigured. I am pretty sure that any
version of java from at least 1.4 should support the current HTTP 1.1.
Your best would be to run Wireshark and pay attention to both the HTTP response and request headers and see what version your client is sending and what versions your server supports. If they are the same, I am not sure what the next step should be.
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra