lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunnar Wagenknecht (JIRA)" <>
Subject [jira] [Commented] (SOLR-2588) Solr doesn't work without Velocity on classpath
Date Tue, 14 Jun 2011 08:30:47 GMT


Gunnar Wagenknecht commented on SOLR-2588:

Thanks Ryan, that's exactly what I was thinking of. 

FWIW, it's fine to have support for Velocity or XYZ in core. But this shouldn't require everybody
to inherit the dependency into their apps. For me it's an additional dependency that I have
to get through an IP/due diligence process and that I have to keep track of security updates,
etc. even if I don't use it in my app.

> Solr doesn't work without Velocity on classpath
> -----------------------------------------------
>                 Key: SOLR-2588
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Gunnar Wagenknecht
>             Fix For: 3.3
> In 1.4. it was fine to run Solr without Velocity on the classpath. However, in 3.2. SolrCore
won't load because of a hard reference to the Velocity response writer in a static initializer.
> {noformat}
> ... ERROR org.apache.solr.core.CoreContainer - java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
> 	at org.apache.solr.core.SolrCore.<clinit>(
> 	at org.apache.solr.core.CoreContainer.create(
> 	at org.apache.solr.core.CoreContainer.load(
> 	at org.apache.solr.core.CoreContainer.load(
> {noformat}

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message