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: [email protected]
For additional commands, e-mail: [email protected]