title: localhost:8080/solr/browse gives a lazy loading error
body: <p>I'm new to Solr, just installed Tomcat6 and Solr 3.6.1 on CentOS. I managed to add some data from my MySQL table and use the exampledoc's xml with <code>http://localhost:8080/solr/update</code> to populate the index with sample data. I am using an edited version of <code>solrconfig.xml</code> from the <code>examplesdoc</code></p>
  
  <p><strong>Problem:</strong> When I go to the Browse Interface at <code>http://localhost:8080/solr/browse</code>, I get the following error in the log file. I do not understand why the error occurs, any ideas how I can fix this?</p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Aug 16, 2012 11:01:56 PM org.apache.solr.core.SolrCore execute
  INFO: [] webapp=/solr path=/browse params={} hits=254 status=0 QTime=4 
  Aug 16, 2012 11:01:56 PM org.apache.solr.common.SolrException log
  SEVERE: org.apache.solr.common.SolrException: lazy loading error
      at org.apache.solr.core.SolrCore$LazyQueryResponseWriterWrapper.getWrappedWriter(SolrCore.java:1763)
      at org.apache.solr.core.SolrCore$LazyQueryResponseWriterWrapper.getContentType(SolrCore.java:1778)
      at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:338)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:273)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:679)
  Caused by: org.apache.solr.common.SolrException: Error loading class 'sol
  </code></pre>
  
  <p>In my <strong>solrconfig.xml</strong>, I have the <code>/browse</code> request handler:</p>
  
  <pre><code>&lt;requestHandler name="/browse" class="solr.SearchHandler"&gt;
   &lt;lst name="defaults"&gt;
     &lt;str name="echoParams"&gt;explicit&lt;/str&gt;
  
     &lt;!-- VelocityResponseWriter settings --&gt;
     &lt;str name="wt"&gt;velocity&lt;/str&gt;
  
     &lt;str name="v.template"&gt;browse&lt;/str&gt;
     &lt;str name="v.layout"&gt;layout&lt;/str&gt;
     &lt;str name="title"&gt;Solritas&lt;/str&gt;
  
     &lt;str name="df"&gt;text&lt;/str&gt;
     &lt;str name="defType"&gt;edismax&lt;/str&gt;
     &lt;str name="q.alt"&gt;*:*&lt;/str&gt;
     &lt;str name="rows"&gt;10&lt;/str&gt;
     &lt;str name="fl"&gt;*,score&lt;/str&gt;
     &lt;str name="mlt.qf"&gt;
       text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
     &lt;/str&gt;
     &lt;str name="mlt.fl"&gt;text,features,name,sku,id,manu,cat&lt;/str&gt;
     &lt;int name="mlt.count"&gt;3&lt;/int&gt;
  
     &lt;str name="qf"&gt;
        text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
     &lt;/str&gt;
  
     &lt;str name="facet"&gt;on&lt;/str&gt;
     &lt;str name="facet.field"&gt;cat&lt;/str&gt;
     &lt;str name="facet.field"&gt;manu_exact&lt;/str&gt;
     &lt;str name="facet.query"&gt;ipod&lt;/str&gt;
     &lt;str name="facet.query"&gt;GB&lt;/str&gt;
     &lt;str name="facet.mincount"&gt;1&lt;/str&gt;
     &lt;str name="facet.pivot"&gt;cat,inStock&lt;/str&gt;
     &lt;str name="facet.range.other"&gt;after&lt;/str&gt;
     &lt;str name="facet.range"&gt;price&lt;/str&gt;
     &lt;int name="f.price.facet.range.start"&gt;0&lt;/int&gt;
     &lt;int name="f.price.facet.range.end"&gt;600&lt;/int&gt;
     &lt;int name="f.price.facet.range.gap"&gt;50&lt;/int&gt;
     &lt;str name="facet.range"&gt;popularity&lt;/str&gt;
     &lt;int name="f.popularity.facet.range.start"&gt;0&lt;/int&gt;
     &lt;int name="f.popularity.facet.range.end"&gt;10&lt;/int&gt;
     &lt;int name="f.popularity.facet.range.gap"&gt;3&lt;/int&gt;
     &lt;str name="facet.range"&gt;manufacturedate_dt&lt;/str&gt;
     &lt;str name="f.manufacturedate_dt.facet.range.start"&gt;NOW/YEAR-10YEARS&lt;/str&gt;
     &lt;str name="f.manufacturedate_dt.facet.range.end"&gt;NOW&lt;/str&gt;
     &lt;str name="f.manufacturedate_dt.facet.range.gap"&gt;+1YEAR&lt;/str&gt;
     &lt;str name="f.manufacturedate_dt.facet.range.other"&gt;before&lt;/str&gt;
     &lt;str name="f.manufacturedate_dt.facet.range.other"&gt;after&lt;/str&gt;
  
  
     &lt;!-- Highlighting defaults --&gt;
     &lt;str name="hl"&gt;on&lt;/str&gt;
     &lt;str name="hl.fl"&gt;text features name&lt;/str&gt;
     &lt;str name="f.name.hl.fragsize"&gt;0&lt;/str&gt;
     &lt;str name="f.name.hl.alternateField"&gt;name&lt;/str&gt;
   &lt;/lst&gt;
   &lt;arr name="last-components"&gt;
     &lt;str&gt;spellcheck&lt;/str&gt;
   &lt;/arr&gt;
   &lt;!--
   &lt;str name="url-scheme"&gt;httpx&lt;/str&gt;
   --&gt;
  &lt;/requestHandler&gt;
  </code></pre>