solr_wrapper icon indicating copy to clipboard operation
solr_wrapper copied to clipboard

Crash on startup. Failed to execute solr create: (RuntimeError)

Open nvanderperren opened this issue 2 years ago • 0 comments

Hello,

solr_wrapper keeps on crashing at startup. I always get following message:

solr_wrapper
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Starting Solr 9.2.0 on port 8983 ... Traceback (most recent call last):
	9: from /Users/nastasia/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `<main>'
	8: from /Users/nastasia/.rvm/gems/ruby-2.7.2/bin/ruby_executable_hooks:22:in `eval'
	7: from /Users/nastasia/.rvm/gems/ruby-2.7.2/bin/solr_wrapper:23:in `<main>'
	6: from /Users/nastasia/.rvm/gems/ruby-2.7.2/bin/solr_wrapper:23:in `load'
	5: from /Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/exe/solr_wrapper:113:in `<top (required)>'
	4: from /Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/lib/solr_wrapper/instance.rb:65:in `wrap'
	3: from /Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/exe/solr_wrapper:114:in `block in <top (required)>'
	2: from /Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/lib/solr_wrapper/instance.rb:218:in `with_collection'
	1: from /Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/lib/solr_wrapper/instance.rb:161:in `create'
/Users/nastasia/.rvm/gems/ruby-2.7.2/gems/solr_wrapper-4.0.2/lib/solr_wrapper/instance.rb:324:in `exec': Failed to execute solr create:  (RuntimeError)
ERROR: Error CREATEing SolrCore 'blacklight-core': Unable to create core [blacklight-core] Caused by: solr.XSLTResponseWriter

. Further information may be available in /var/folders/2p/6vyqyvp50h36_cn3k49mpnch0000gn/T/solr-9.2.0/server/logs

in attachement you can find all my logs, but it seems that a java issue is causing the trouble: Caused by: java.lang.ClassNotFoundException: solr.XSLTResponseWriter (you can find this in solr.log)

Is there a requirement that should be installed first?

2023_04_20.request.log solr_gc.log solr_slow_requests.log solr-8983-console.log solr.log

nvanderperren avatar Apr 20 '23 15:04 nvanderperren