Hello!
Please, would you be so kind and could help me with installation of new
dSpace 9. The Dspace (Spring Boot) cannot connect to solr. I have pasted
the dspace.log below.
I have checked this pretty described troubleshooting at
https://wiki.lyrasis.org/display/DSDOC9x/Installing+DSpace#InstallingDSpace-Solrrespondswith%22Expectedmimetypeapplication/octet-streambutgottext/html%22(404NotFound)
(thanks for this) and corrected the problems.
Solr is listening - checked by
curl "
http://localhost:8983/solr/admin/info/system"
when I get the correct json response or "
http://localhost:8983/solr/" -
getting the solr webpage
Solr is defined in local.cfg:
solr.server =
http://localhost:8983/solr
dSpace configs has been copied tot /opt/solr/server/solr/configsets/
All solr dirs and subdirs /opt/sorl and /var/solr are owned by solr user
(used for running solr)
Solr log /var/solr/logs/solr.log claims an error when executing :
2025-09-26 05:58:55.865 ERROR (qtp801569151-34) [c: s: r: x:
t:localhost-1] o.a.s.s.SolrRequestParsers Couldn't get multipart parts
in order to delete them => java.lang.IllegalStateException: No multipart
config for servlet
at org.eclipse.jetty.server.Request.getParts(Request.java:2337)
java.lang.IllegalStateException: No multipart config for servlet
at org.eclipse.jetty.server.Request.getParts(Request.java:2337)
~[jetty-server-10.0.22.jar:10.0.22]
at org.eclipse.jetty.server.Request.getParts(Request.java:2328)
~[jetty-server-10.0.22.jar:10.0.22]
But I am not sure if this might be a problem and how to solve it.
Please, any help or pushing me to solution appreciated!
Thanks in advance and have a fun not only with dSpace!
Matyas F. Bajger
library systems administrator
University of Ostrava
https://library.osu.eu
//////////////////////
Here is the error in dspace.log
Error starting ApplicationContext. To display the condition evaluation
report re-run your application with 'debug' enabled.
2025-09-26 07:58:55,959 ERROR unknown unknown
org.springframework.boot.SpringApplication @ Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'authenticationRestController': Unsatisfied
dependency expressed through field 'converter': Error creating bean with
name 'converterService': Unsatisfied dependency expressed through field
'webSecurityExpressionEvaluator': Error creating bean with name
'webSecurityExpressionEvaluator' defined in URL
[jar:nested:/dspace/webapps/server-boot.jar/!BOOT-INF/lib/dspace-server-webapp-9.1.jar!/org/dspace/app/rest/security/WebSecurityExpressionEvaluator.class]:
Unsatisfied dependency expressed through constructor parameter 0: Error
creating bean with name 'springSecurityFilterChain': Cannot create inner
bean '(inner bean)#2e7d71d9' of type
[org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$HandlerMappingIntrospectorCacheFilterFactoryBean]
while setting constructor argument with key [0]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:788)
~[spring-beans-6.2.8.jar!/:6.2.8]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:768)
~[spring-beans-6.2.8.jar!/:6.2.8]
(... ...)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mvcHandlerMappingIntrospector' defined in
class path resource
[org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]:
Error creating bean with name 'healthEndpointWebMvcHandlerMapping'
defined in class path resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointWebExtensionConfiguration$MvcAdditionalHealthEndpointPathsConfiguration.class]:
Failed to instantiate
[org.springframework.boot.actuate.endpoint.web.servlet.AdditionalHealthEndpointPathsWebMvcHandlerMapping]:
Factory method 'healthEndpointWebMvcHandlerMapping' threw exception with
message: Error creating bean with name 'healthEndpoint' defined in class
path resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Unsatisfied dependency expressed through method 'healthEndpoint'
parameter 0: Error creating bean with name 'healthContributorRegistry'
defined in class path resource
[org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]:
Unsatisfied dependency expressed through method
'healthContributorRegistry' parameter 2: Error creating bean with name
'solrSearchCoreHealthIndicator' defined in class path resource
[org/dspace/app/rest/configuration/ActuatorConfiguration.class]: Failed
to instantiate [org.dspace.app.rest.health.SolrHealthIndicator]: Factory
method 'solrSearchCoreHealthIndicator' threw exception with message:
Error from server at
http://localhost:8983/solr/search: Expected mime
type application/octet-stream but got text/html. <p>
Searching for Solr?<br/>
You must type the correct path.<br/>
Solr will respond.
</p>