You need to add the corresponding JAR file supporting this SPI to your classpath.我在某个地方读到,我应该将这个编解码器jar文件的服务添加到我的build.xml中,但它不起作用,这是我在ant(build.xml)中的jar部分: <mkdir dir="${jar
当我试图在eclipse上构建ant时,我得到了一个错误的Could not load definitions from resource net/sf/antcontrib/antcontrib.properties因此,我下载了ant-contrib-0.6.jar并将其保存在apache ant的/lib位置,但它仍然不能解决我的问题。我还尝试在CLASSPATH系统变量中指定/lib位置。
以下是我的步骤:
d:\workspace\solrdownload ant中的签出solr,解压缩到d:\ant。将命令行中的d:\antdownload maven- ant - ANT_HOME -2.1.3.jar(最新版本)设置为d:\ant\lib,转到d:\workspace\solr\lucenerunPlease download the Maven ant tasks JAR (maven-ant-tasks-2.