[ 
https://issues.apache.org/jira/browse/SOLR-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136394#comment-13136394
 ] 

Steven Rowe commented on SOLR-2588:
-----------------------------------

Erik, I was looking at the {{solrconfig.xml}} under {{test-files/}}, and I 
noticed that you have {{<luceneMatchVersion>LUCENE_40</luceneMatchVersion>}}, 
where in other contribs' test configurations, it's instead 
{{<luceneMatchVersion>$\{tests.luceneMatchVersion:LUCENE_CURRENT}</luceneMatchVersion>}}.
  

Is there any reason to hard code LUCENE_40 there (or LUCENE_34 on branch_3x, I 
guess)?
                
> Make Velocity an optional dependency in SolrCore
> ------------------------------------------------
>
>                 Key: SOLR-2588
>                 URL: https://issues.apache.org/jira/browse/SOLR-2588
>             Project: Solr
>          Issue Type: Wish
>    Affects Versions: 3.2
>            Reporter: Gunnar Wagenknecht
>            Assignee: Steven Rowe
>            Priority: Minor
>             Fix For: 3.5, 4.0
>
>         Attachments: SOLR-2588-maven.patch, SOLR-2588.patch, SOLR-2588.patch, 
> SOLR-2588.patch, SOLR-2588.patch, SOLR-2588.patch, SOLR-2588.patch, 
> SOLR-2588.patch, SOLR-2588.patch, SOLR-2588.patch, 
> SOLR-2588_Don_t_fail_if_velocity_libs_not_present_.patch
>
>
> 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>(SolrCore.java:1447)
>       at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
>       at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
>       at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to