lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: odd VelocityResponseWriterTest failure...
Date Fri, 22 Oct 2010 17:29:49 GMT

FYI: I started seeing this error when Miller committed SolrCloud to trunk 
and included the slf4j log4j bridge jar -- the root cause was that i had 
a very old version of log4j in my classpath (as part of a custom ant 
install)


: Date: Sat, 16 Oct 2010 05:44:03 -0400
: From: Michael McCandless <lucene@mikemccandless.com>
: Reply-To: dev@lucene.apache.org
: To: dev@lucene.apache.org
: Subject: odd VelocityResponseWriterTest failure...
: 
: Does anyone else see this failure?  It must be a JAR classpath issue?
: Ie the test is compiled against one JAR but then run against another
: that's missing this method...?
: 
: ant test-core -Dtestcase=VelocityResponseWriterTest
: 
: ....
: 
: junit-sequential:
:     [junit] Testsuite: org.apache.solr.velocity.VelocityResponseWriterTest
:     [junit] Testcase:
: testTemplateName(org.apache.solr.velocity.VelocityResponseWriterTest):	Caused
: an ERROR
:     [junit] org.apache.log4j.Logger.setAdditivity(Z)V
:     [junit] java.lang.NoSuchMethodError:
: org.apache.log4j.Logger.setAdditivity(Z)V
:     [junit] 	at
: org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:126)
:     [junit] 	at
: org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
:     [junit] 	at
: org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
:     [junit] 	at
: org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
:     [junit] 	at
: org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
:     [junit] 	at
: org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
:     [junit] 	at
: org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:107)
:     [junit] 	at
: org.apache.solr.response.VelocityResponseWriter.getEngine(VelocityResponseWriter.java:131)
:     [junit] 	at
: org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter.java:39)
:     [junit] 	at
: org.apache.solr.velocity.VelocityResponseWriterTest.testTemplateName(VelocityResponseWriterTest.java:22)
:     [junit] 	at
: org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:811)
:     [junit] 	at
: org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:776)
: 
: Mike
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
: For additional commands, e-mail: dev-help@lucene.apache.org
: 

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message