You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2008/02/06 22:35:26 UTC

Re: Solr+XSLT output problem; trying to use "wt=xslt" fails with a NoClassDefFoundError

: Error: type Status report
: 
: message null java.lang.NoClassDefFoundError at
: org.apache.solr.request.XSLTResponseWriter.getTransformer(XSLTResponseWr
: iter.java:115) at

This is pretty puzzling ... my best guess is that either:
  1) something about your tomcat setup is causing the javax.xml.* classes 
     to not be available at runtime.
  2) the TransformerFactory that your JVM wants to use (as specified by 
     the "javax.xml.transform.TransformerFactory" system property) can't 
     be loaded ... i think that would also trigger a NoClassDefFoundError 
     but i'm not positive.

...with your current tomcat setup, can you write a simple little JSP that 
uses TransformerFactory to do an XSLT transform?  (if not: then you have a 
simplified, non-solr, test case to troubleshoot -- maybe with help from a 
Tomcat expert)


-Hoss