I am using Java Version: 1.8 and Solr: 8.11.4. When executing a simple Solr query like :, I kept getting this error:
Invalid version (expected 2, but 31) or the data is not in 'javabin' format.
I downgraded the SolrJ version to 5.3.1, which works well with JSON response format out of the box.