What version of Solr are you using?
If you're using trunk, the VelocityResponseWriter is built in to the
example.
If you're using previous versions, try specifying
"solr.VelocityResponseWriter" as the class name, as it switched from
the request to the response packages, and the "solr." shortcut will
find it in either one. The additional JAR files can go into your
<solr-home>/lib subdirectory and don't need to be built into the WAR
at all.
Erik
On Jun 14, 2010, at 8:39 AM, stockii wrote:
Hello.
I want to use the VelocityResponseWriter. I did all these steps
from this
site: http://wiki.apache.org/solr/VelocityResponseWriter
Builded a war-file with "ant dist" and use it. but solr cannot find
the
VelocityResponseWriter - Class
java.lang.NoClassDefFoundError: org/apache/solr/response/
QueryResponseWriter
at java.lang.ClassLoader.defineClass1(Native Method) at
java.lang.ClassLoader.defineClassCond(Unknown Source)
i think i have an mistake when i build the warfile, because in my
build-folder after building, no valecity-classes are in there. how
can i
build a solr.war with this classes ?
thx =)
--
View this message in context:
http://lucene.472066.n3.nabble.com/VelocityResponseWriter-in-Solr-Core-configuration-tp894262p894262.html
Sent from the Solr - User mailing list archive at Nabble.com.