I’m using A12 in my Springboot- Applikation with the following versions of A12-Components:
- version(‘base’, ‘26.3.0’)
- version(‘form-engine’, ‘35.1.0’)
- version(‘kernel’, ‘27.5.1’)
- version(‘uaa’, ‘6.1.2’)
- version(‘dataservices’, ‘35.0.5’)
the main reason for Failure is that the bean of SearchService in the class “com.mgmtp.a12.dataservices.autoconfigure.search.internal.SearchServiceConfiguration” couldn’t been instantiated due to failure in “com.mgmtp.a12.dataservices.search.internal.lucene.LuceneSearchServiceFactory” see the attached log file for more information.
logFile.txt (30.9 KB)
Hi @malek-linked-anchor,
This error occurs when different version of solr or lucene are being set by the client project. Please use the versions which we deliver
luceneVersion = "9.3.0"
solrVersion = "9.1.1"
This answer is valid for Data services 32.2 - 36.0
i have explicitly added the following dependecies and it works now, thanks 
implementation group: ‘org.apache.lucene’, name: ‘lucene-core’, version: ‘9.3.0’
implementation group: ‘org.apache.solr’, name: ‘solr-core’, version: ‘9.1.1’
however i noticed that the “org.apache.solr.solr-core:9.1.1” has 2 Vulnerabilities
[CVE-2023-26049]
[CVE-2023-26048]
https://mvnrepository.com/artifact/org.apache.solr/solr-core/9.1.1
so is it the right dependency that i need to pull?
JFYI. We had a problem, that our used Spring-Boot-BOM is applying an older solr version and because we never specified the solr version by our own, the spring-boot-bom one was used.
Maybe it could be the same problem that you had here 