Solr + Jetty — org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

This error appears if you have content in your solr config XML file.

Since I have print statements in my django manage.py command, I forgot that piping the output of django-haystack’s solr schema generation command would include my print statements.

Watch out!

Leave a Comment