我在我的eclipse IDE中构建lucene-solr source code。但是当我尝试使用
在命令行中启动服务时${user.home}\git\lucene-solr\solr\bin>solr start
但是我收到以下错误
Error: Could not find or load main class org.apache.solr.util.SolrCLI
"Failed removing old solr logs"
Error: Could not find or load main class org.apache.solr.util.SolrCLI
"Failed archiving old GC logs"
Error: Could not find or load main class org.apache.solr.util.SolrCLI
"Failed archiving old console logs"
Error: Could not find or load main class org.apache.solr.util.SolrCLI
"Failed rotating old solr logs"
Error: Unable to access jarfile start.jar
Error: Could not find or load main class org.apache.solr.util.SolrCLI
我该如何解决这个问题? 当我尝试编译solr时,我收到以下错误
Buildfile: ${user.home}\git\lucene-solr\build.xml
compile:
-check-git-state:
-git-cleanroot:
-copy-git-state:
git-autoclean:
resolve:
ivy-availability-check:
BUILD FAILED
${user.home}\git\lucene-solr\build.xml:309: The following error occurred while executing this line:
${user.home}\git\lucene-solr\lucene\build.xml:124: The following error occurred while executing this line:
${user.home}\git\lucene-solr\lucene\common-build.xml:424: ${user.home}\.ant\lib does not exist.
Total time: 0 seconds
我安装了蚂蚁和常春藤。但是没有$ {user.home} .ant \ lib文件夹。以及如何在调试模式下运行solr服务