Re: 'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it
005ec3702b371259bc at > org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:554) > ~[?:?] > @40005ec3702b371259bc ... 52 more > @40005ec3702b3712618c 2020-05-19 05:35:29.921 ERROR (qtp836220863-14) [ > x:partinterchange] o.a.s.h.SolrConfigHandler ERROR:[{ > @40005ec3702b37126574 "update-queryresponsewriter":{ > @40005ec3702b37126574 "startup":"lazy", > @40005ec3702b37126574 "name":"velocity", > @40005ec3702b3712695c "class":"solr.VelocityResponseWriter", > @40005ec3702b3712695c "template.base.dir":"", > @40005ec3702b3712695c "solr.resource.loader.enabled":"true", > @40005ec3702b3712712c "params.resource.loader.enabled":"true"}, > @40005ec3702b37127514 "errorMessages":["Error loading class > 'solr.VelocityResponseWriter'"]}] > > > P.S. *I am getting this error after I have commented out the > directives for velocity and the /browse request handler as well as the > following line:* > > startup="lazy"> > ${velocity.template.base.dir:} > > >> On Tue, Apr 28, 2020 at 6:45 PM Prakhar Kumar < >> prakhar.ku...@hotwaxsystems.com> wrote: >> >> Hello Team, >> >> I am getting this weird error in Solr logs. Does anyone know how to >> prevent it from happening? >> >> ERROR:[{ >>"update-queryresponsewriter":{ >> "startup":"lazy", >> "name":"velocity", >> "class":"solr.VelocityResponseWriter", >> "template.base.dir":"", >> "solr.resource.loader.enabled":"true", >> "params.resource.loader.enabled":"true"}, >>"errorMessages":[" 'velocity' does not exist . Do an >> 'create-queryresponsewriter' , if you want to create it "]}] >> >> >> -- >> Kind Regards, >> Prakhar Kumar >> Sr. Enterprise Software Engineer >> >> *HotWax Systems* >> *Enterprise open source experts* >> cell: +91-89628-81820 >> office: 0731-409-3684 >> http://www.hotwaxsystems.com >> > > > -- > Kind Regards, > Prakhar Kumar > Sr. Enterprise Software Engineer > > *HotWax Systems* > *Enterprise open source experts* > cell: +91-89628-81820 > office: 0731-409-3684 > http://www.hotwaxsystems.com
Re: 'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it
rowse request handler as well as the following line:* ${velocity.template.base.dir:} On Tue, Apr 28, 2020 at 6:45 PM Prakhar Kumar < prakhar.ku...@hotwaxsystems.com> wrote: > Hello Team, > > I am getting this weird error in Solr logs. Does anyone know how to > prevent it from happening? > > ERROR:[{ > "update-queryresponsewriter":{ > "startup":"lazy", > "name":"velocity", > "class":"solr.VelocityResponseWriter", > "template.base.dir":"", > "solr.resource.loader.enabled":"true", > "params.resource.loader.enabled":"true"}, > "errorMessages":[" 'velocity' does not exist . Do an > 'create-queryresponsewriter' , if you want to create it "]}] > > > -- > Kind Regards, > Prakhar Kumar > Sr. Enterprise Software Engineer > > *HotWax Systems* > *Enterprise open source experts* > cell: +91-89628-81820 > office: 0731-409-3684 > http://www.hotwaxsystems.com > -- Kind Regards, Prakhar Kumar Sr. Enterprise Software Engineer *HotWax Systems* *Enterprise open source experts* cell: +91-89628-81820 office: 0731-409-3684 http://www.hotwaxsystems.com
Re: 'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it
Try add-queryresponsewriter instead of "update" - it's not currently defined so there's nothing to update. Add it first, but also make sure you've got the Velocity contrib and dependencies wired into your configset as well. Erik > On Apr 28, 2020, at 9:15 AM, Prakhar Kumar > wrote: > > Hello Team, > > I am getting this weird error in Solr logs. Does anyone know how to prevent > it from happening? > > ERROR:[{ >"update-queryresponsewriter":{ > "startup":"lazy", > "name":"velocity", > "class":"solr.VelocityResponseWriter", > "template.base.dir":"", > "solr.resource.loader.enabled":"true", > "params.resource.loader.enabled":"true"}, >"errorMessages":[" 'velocity' does not exist . Do an > 'create-queryresponsewriter' , if you want to create it "]}] > > > -- > Kind Regards, > Prakhar Kumar > Sr. Enterprise Software Engineer > > *HotWax Systems* > *Enterprise open source experts* > cell: +91-89628-81820 > office: 0731-409-3684 > http://www.hotwaxsystems.com
Re: 'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it
What version of Solr? Velocity was moved to a contrib recently. To prevent it, one of: - add a lib directive in solrconfig.xml to the velocity directory - don’t tty to go to the /browse endpoint Best, Erick > On Apr 28, 2020, at 9:15 AM, Prakhar Kumar > wrote: > > Hello Team, > > I am getting this weird error in Solr logs. Does anyone know how to prevent > it from happening? > > ERROR:[{ >"update-queryresponsewriter":{ > "startup":"lazy", > "name":"velocity", > "class":"solr.VelocityResponseWriter", > "template.base.dir":"", > "solr.resource.loader.enabled":"true", > "params.resource.loader.enabled":"true"}, >"errorMessages":[" 'velocity' does not exist . Do an > 'create-queryresponsewriter' , if you want to create it "]}] > > > -- > Kind Regards, > Prakhar Kumar > Sr. Enterprise Software Engineer > > *HotWax Systems* > *Enterprise open source experts* > cell: +91-89628-81820 > office: 0731-409-3684 > http://www.hotwaxsystems.com
'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it
Hello Team, I am getting this weird error in Solr logs. Does anyone know how to prevent it from happening? ERROR:[{ "update-queryresponsewriter":{ "startup":"lazy", "name":"velocity", "class":"solr.VelocityResponseWriter", "template.base.dir":"", "solr.resource.loader.enabled":"true", "params.resource.loader.enabled":"true"}, "errorMessages":[" 'velocity' does not exist . Do an 'create-queryresponsewriter' , if you want to create it "]}] -- Kind Regards, Prakhar Kumar Sr. Enterprise Software Engineer *HotWax Systems* *Enterprise open source experts* cell: +91-89628-81820 office: 0731-409-3684 http://www.hotwaxsystems.com