Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE37870A5 for ; Wed, 26 Oct 2011 18:05:54 +0000 (UTC) Received: (qmail 23220 invoked by uid 500); 26 Oct 2011 18:05:52 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 23148 invoked by uid 500); 26 Oct 2011 18:05:52 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 23058 invoked by uid 99); 26 Oct 2011 18:05:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 18:05:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 18:05:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7B6D131D7E8 for ; Wed, 26 Oct 2011 18:03:32 +0000 (UTC) Date: Wed, 26 Oct 2011 18:03:32 +0000 (UTC) From: "Steven Rowe (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1664811260.19409.1319652212506.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <553123127.965.1307891703191.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2588) Make Velocity an optional dependency in SolrCore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136168#comment-13136168 ] Steven Rowe commented on SOLR-2588: ----------------------------------- I will try the maven build and the IntelliJ IDEA build/test a little later today. > 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: Erik Hatcher > Priority: Minor > Fix For: 3.5, 4.0 > > Attachments: 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.(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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org